PDF to wordpress

by 4 replies
6
I have a pdf with a separate cover image that I need to get uploaded into wordpress. I understand how to upload into media, but how do I get the image connected to the pdf? thanks
#website design #pdf #wordpress
  • Hi. You would just have to place a link to the image to your PDF. WHen they click on the image it would open the PDF or it can be downloaded.
    • [ 1 ] Thanks
  • There is a good plugin for adding custom fields in WordPress. You can add any type of data including pdf. It is the Advanced Custom Fields plugin, which can be downloaded from the wordpress site.
    • [ 1 ] Thanks
  • Do you want to make the PDF file downloadable for your visitors/customers?
    If yes, and you want the image to be the "front" of it:
    - upload BOTH files to yourserver/host
    - make the image file a link (using anchor tag) to your PDF file

    e.g. both file went up to your "uploads" directory, so
    Code:
    <a href="http://example.com/wp-content/uploads/2013/06/myfantasticcontent.pdf">
    <img src="http://example.com/wp-content/uploads/2013/06/cover.png">
    </a>
    • [ 1 ] Thanks
  • Banned
    [DELETED]
  • Banned
    [DELETED]
  • Banned
    It sounds like your link is getting put on an "attachment" page made for images. Are you using the "add an image" icon, or are you using the "add media" button in the editor? You should be using the "add media" button (spiky circle) for PDFs, docs and such.
    • [ 1 ] Thanks

Next Topics on Trending Feed

  • 6

    I have a pdf with a separate cover image that I need to get uploaded into wordpress. I understand how to upload into media, but how do I get the image connected to the pdf? thanks