WordPress.org

Ready to get started?Download WordPress

Forums

Adding a PDF - File URL-field missing (5 posts)

  1. Pepparspray
    Member
    Posted 1 year ago #

    I'm trying to add a link to a PDF-file on a page. I've read countless tutorials on how to do it and they all seem to involve clicking on the field "File URL" before inserting the file. The problem is that my installation/theme/whatever of wordpress doesn't seem to have that field.

    Is there any way I can add this or get it back?

    I'm using WordPress 3.4.2, child theme to twenty ten. I've already tried reinstalling wordpress, and deactivating all plug-ins.

    Thanks!
    Anton

  2. linux4me2
    Member
    Posted 1 year ago #

    How about just doing this the old-fashioned way?

    You can upload the PDF to the directory of your choice (say, /wp-content/uploads/2012/12/) using your site's control panel file manager or an FTP client, then just create a hyperlink to it in your page using your domain name and the path to the folder.

  3. Pepparspray
    Member
    Posted 1 year ago #

    Thanks for answering!
    That's definitely a possibility, but if possible, I would like to find a way to do it in the GUI. I'm creating this for a third (or fourth?) party and they're lacking both skill and will to use FTP.

    If there is an FTP plug-in to wordpress, this wouldn't be so hard to sell to them though... I shall look into this.

    Thanks again

  4. linux4me2
    Member
    Posted 1 year ago #

    Okay, here you go.

    If you're using WordPress 3.5, go into the Posts or Pages Editor where you want to insert the PDF hyperlink:

    1. click the Add Media button
    2. click Select Files
    3. browse to and select the PDF you want to upload/link to
    4. click Insert into Post

    In my test, it inserts a hyperlink to the file using the name of the PDF as the text of the hyperlink, which your users could change if desired. No plugin necessary.

  5. Pepparspray
    Member
    Posted 1 year ago #

    That's definitely the desired behaviour, but the problem is that when I do this, I end up with a non hyper-linked title of the pdf.

    This is what it looks like when I've uploaded a PDF. I've tried this on other installations of WordPress with different themes, and there it works perfectly, but on this installation/theme it keeps looking like this. I just can't seem to get it to work. Does anyone know why there is no File URL field?

    Thanks again for your help.

Topic Closed

This topic has been closed to new replies.

About this Topic