How can I attach files without using a plugin?

Discussion in 'WordPress' started by Purple Ninja, Apr 26, 2012.

  1. #1
    I want to add files from my site or from external links with files to any of my posts, and be able to add the size of the file and choose which ones it will do "File Force" and which not. I want to have too a counter that it will show how many clicks/downloads the file had. Any link that I add to a post internal or external, I want it to have automatically rel noindex, nofollow. Is this possible to do with custom fields???


    I also tried by adding media>external media, I inserted it to the post but it doesn't show it in the post, have I done something wrong or I have to something more to find out?
     
    Purple Ninja, Apr 26, 2012 IP
  2. ashishkg

    ashishkg Active Member

    Messages:
    233
    Likes Received:
    8
    Best Answers:
    3
    Trophy Points:
    68
    #2
    So you can use the custom field and call the for download in posts
     
    ashishkg, Apr 28, 2012 IP
  3. mmedia

    mmedia Guest

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    you can uplode them by FTP
     
    mmedia, Apr 29, 2012 IP
  4. locke815

    locke815 Peon

    Messages:
    480
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Try uploading it via FTP.
     
    locke815, May 3, 2012 IP
  5. Roxitsc

    Roxitsc Active Member

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    61
    #5
    You should try uploading the files via ftp
     
    Roxitsc, May 3, 2012 IP
  6. 5Twenty

    5Twenty Peon

    Messages:
    79
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    In order to get files to show in posts that have been uploaded to the media section of the admin area you need to customize the functions file. Customizing the functions.php file will also allow you to display icons depending on the type of file displayed. (ie word, pdf, xcl, etc) However to get the rest of the features you want you either have to use a plugin or create it yourself.

    If plugins are out all together try building a custom listing type with your own taxonomies and custom fields. That can get you part of the way to where you want to go, but you are also going to have to do a little custom programming in order to get some of the other features including the counter working for you.
     
    5Twenty, May 4, 2012 IP