Create PDF pages from URL and embed link in WordPress blog

pdfmyurl There are various web services which will offer you the facility of converting a webpage into a pdf file but there results were not quite satisfactory. The layout will break on many sites but yesterday I found out a service that I would like to share with you guys which gives quite good results, at least the best I have seen so far among free services and that too instantly. I don’t need to give my email address & then wait for the download link to arrive.

PDFMYURL.COM is a service which just gives you the pdf file to download without any hassles of waiting or sending you the links to your email address. Just type in the URL and the pdf file will start downloading the next moment. I would surely recommend it to anybody who wants to save a pdf version of web pages.

Embed Download as PDF Link in WordPress blog

You can easily embed the option of downloading the posts as pdf links in your WordPress theme. Just place the following PHP code inside the WordPress loop in your theme file where you want the link to appear.

<a href="http://pdfmyurl.com?url=<?php the_permalink(); ?>">Download as PDF</a>

Place it inside the WordPress loop and you will get the functionality to download posts as pdf without any plugin or additional load on your server.

savepdf Above is a screenshot of how it looks on my blog.

If you need any kind of help, then feel free to leave a comment & I will help you out.


Comments

8 responses to “Create PDF pages from URL and embed link in WordPress blog”

  1. That tool will be helpful for big tutorial posts and quick checklists.

    1. Hi Arun,

      Yes, I use it myself very much. Every time someone ask me for instructions on something that I have already covered on my blog, I pass them a pdf of the post. πŸ™‚
      BTW, You have got a nice blog.

  2. […] pdf on the fly and to convert posts from my blog to pdf for visitors. You can provide the option to download posts as pdfs on your blog […]

  3. wow thanks man. I was looking for this. Keep more useful posts coming

    1. Sure! Let me know if you have any suggestions πŸ™‚

  4. I cannot see in your post the PHP code for embeding PDFMYURL into WordPress.
    Could you please post it again?
    Nice blog, by the way… I will keep visiting it.

    Thanks

    1. Hi,

      I have updated the post with the code. Thanks for bringing it to my notice πŸ™‚

  5. I also put Download as PDF button in my website, but I use button from http://www.web2pdfconvert.com/pdf-button It looks better then text link.