How to publish Printer-friendly Versions of Your WP blog Posts.
If you have a wordpress-powered blog or site that has contents that user can print and use, you want to offer them a way to print that page or post. Therefore, you need to allow your viewer to be able to print the article or page. In this tutorial, I use a plugin called WP-Print that makes a printable version of your posts without other useless information on the post .
To install WP-Print, you need to download it, and then activate it.
Login to your site as a admin.
Go to Dashboard>Plugins.
Click on Add New.
Search for “WP-Print” plugin.
Click on “install” and follow the instruction.
After installation click on “activate” under wp-print.
The easiest way is put this code “[print_link]” anywhere of post.
Or you can add print link to your theme page.
Once you do this, “Print This Page” will appear on every post or page.
The easiest way is put this code [print_link] anywhere of post.
It will look like this ” [print_link] ”
Or you can add print link to your theme page.
Open single.php file from your theme folder and find this line :
<?php while (have_posts()) : the_post(); ?>
After the above line add this code
<?php if(function_exists('wp_print')) { print_link(); } ?>
The output will look like this:
You may place it in index.php, post.php, page.php also.
After doing this update your permalink.
Otherwise when user clicks on print icon or link it will show 404 page.
That’s all!