WordPress.org

Ready to get started?Download WordPress

Plugin Directory

WP-Print

Displays a printable version of your WordPress blog's post/page.

How do I add this to my theme?

  1. Open wp-content/themes/<YOUR THEME NAME>/index.php You may place it in single.php, post.php, page.php, etc also.
  2. Find: <?php while (have_posts()) : the_post(); ?>
  3. Add Anywhere Below It: <?php if(function_exists('wp_print')) { print_link(); } ?>

Simply add this code inside the loop ### where you want the print link to display:

if(function_exists('wp_print')) {
    print_link();
}

If you do not want to print a portion of your post's content

[donotprint]Text within this tag will not be displayed when printing[/donotprint]
  • The text within [donotprint][/donotprint] will not be displayed when you are viewing a printer friendly version of a post or page.
  • However, it will still be displayed as normal on a normal post or page view.
  • Do note that if you are using WP-Email, any text within [donotprint][/donotprint] will not be emailed as well.

Custom Template

  • WP-Print will load 'print-css.css', 'print-posts.php' and 'print-comments.php' from your theme's directory if it exists.
  • If it doesn't exists, it will just load the respective default file that comes with WP-Print.
  • This will allow you to upgrade WP-Print without worrying about overwriting your printing styles or templates that you have created.

Requires: 2.8 or higher
Compatible up to: 3.9.1
Last Updated: 2014-4-17
Downloads: 411,366

Ratings

4 stars
4.3 out of 5 stars

Support

3 of 3 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,5,5
100,1,1
100,4,4
71,7,5
85,13,11
86,7,6
41,17,7
0,1,0
100,1,1
50,6,3
33,3,1
50,2,1
100,2,2
100,1,1
73,11,8
50,2,1
50,4,2
0,1,0
100,3,3
67,3,2
100,4,4
100,3,3 100,1,1
100,7,7
33,3,1
80,5,4
100,3,3
100,3,3
100,2,2
100,2,2
100,1,1