• Resolved JanSIrons

    (@jansirons)


    Hi! I want to embed a PDF download … i.e. “Click Here to Download a Free PDF”. I can find how to import a PDF into my post, but that’s not what I want to do. I want readers to click to download the actual PDF to their own computers.

    Can anyone point me to a tutorial or where in the documentation it tells me how to do this? I’ve searched for an hour & can’t find anything other than the Media button … but that isn’t what I’m trying to do.

    HELP! Thanks! Jan

    P.S. blog is commuterCRUISER.com FYI

Viewing 5 replies - 1 through 5 (of 5 total)
  • Phil

    (@owendevelopment)

    If you want to hand-code this into your post/page with HTML, then all you need to do is something like this:

    1. Upload the pdf to somewhere on your server and note where it is.

    2. Open the post / page you want the link to appear on in the WordPress admin.

    3. Switch to HTML view in the editor and add in the following line somewhere where you want the link to go:

    <a href="http://commutercruiser.com/link-to-the-pdf-here.pdf">Click here to download a free PDF</a>

    Obviously amend the line above to the path where the pdf document is.

    Hope this helps.

    Phil

    Thread Starter JanSIrons

    (@jansirons)

    Hi Phil! THANKS!!! This seems to work GREAT …. except….

    (keep in mind, I’m a complete newbie)… I uploaded the PDF to the media center, then used the file name I thought it was giving me … commutercruiser.com/Prioritized-Winterlude-in-Water-List.pdf but when I click on it in the preview mode, I get a 404 error. I’m assuming this means I have the file name incorrect.

    Can you please give idiot-proof instructions on how to know what the file name is? Or do I need to do something else beyond uploading the PDF to the media center?

    I appreciate the help!

    Cheers! Jan

    Phil

    (@owendevelopment)

    Difficult to pinpoint if the file has been uploaded to that location without checking through FTP or file manage at host.

    The path is definately incorrect as http://commutercruiser.com/Prioritized-Winterlude-in-Water-List.pdf has no document found.

    It may be settings of your wordpress install, you can check these by going to:

    ‘Admin’ –> ‘Settings’ –> ‘Media’

    and checking what the upload filepath is.

    Personally, I would try to get access via FTP or log in to your server host control panel, ‘file manager’ and then see whereabout it is. It may be permissions of that folder/file or it could be that it’s not in the location it thinks it’s in.

    Phil

    Thread Starter JanSIrons

    (@jansirons)

    THANKS Phil! I went to Go Daddy to the FTP listing of all the images & PDF’s & it was listed as I was using it…. aaarrggg! So I called Go Daddy support to ask and they told me to go to the media library, click show next to the PDF I wanted, then copy the link URL, not the filename. It works like a charm! 🙂 THANKS again for all your help!

    Cheers! Jan

    Phil

    (@owendevelopment)

    No problem.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PDF Download Embedded in Post?’ is closed to new replies.