Article2pdf let your visitors download a post as PDF file: images, formats, lists, tables included. You can use a PDF as template file and much more.
Install the plugin and activate it. After activation go to the plugin admin panel and change the configuration to your needs. Important: Choose correct paths for the template, cache and temp directory! The directorys MUST be writeable by the webserver, so set the correct owner and directory permissions to the dirs. After that put the PDF creation link into your theme (or into a widget if you like), or you go to the configuration page and and enter a link text which will tell the plugin automatically add a pdf link to the bottom of a single post or page.
Further informations on adding the PDF link to your theme:
If you use non standard permalinks (e.g. "
/%postname%"), add the link html code
<a href="?article2pdf=1">PDF Version</a> to your theme. I put the html code into the "single.php" and the "page.php" of my theme and it works fine for me.<br/>
If you use the standard permalink structure (
?p=123), add the following link to your theme:
<a href="<?php the_permalink(); ?>&article2pdf=1">PDF Version</a><br/>
A demo can be found at http://www.das-motorrad-blog.de/meine-wordpress-plugins/ - feel free to test the plugin by selecting a post or a page and then click "PDF" in the upper right corner.
Important: The link should be inside the WordPress main loop. Search for something similar to that:
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>.
If you click your link on different posts and you always get the same pdf, then the link is not inside the main loop.
Requires: 2.5.0 or higher
Compatible up to: 2.8
Last Updated: 7 years ago
Active Installs: 500+
Got something to say? Need help?