Title: WP-Print
Author: Lester Chan
Published: <strong>January 3, 2006</strong>
Last modified: August 9, 2023

---

Search plugins

![](https://ps.w.org/wp-print/assets/banner-772x250.jpg?rev=1206764)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/wp-print/assets/icon.svg?rev=978022)

# WP-Print

 By [Lester Chan](https://profiles.wordpress.org/gamerz/)

[Download](https://downloads.wordpress.org/plugin/wp-print.2.58.2.zip)

 * [Details](https://sa.wordpress.org/plugins/wp-print/#description)
 * [Reviews](https://sa.wordpress.org/plugins/wp-print/#reviews)
 * [Development](https://sa.wordpress.org/plugins/wp-print/#developers)

 [Support](https://wordpress.org/support/plugin/wp-print/)

## Description

Once installed take the following steps to set it up:

 1. WP-Print settings page is located in WP-Admin -> Settings -> Print
 2. You Need To Re-Generate The Permalink (WP-Admin -> Settings -> Permalinks -> Save
    Changes)
 3. Refer To Usage For Further Instructions

### Usage

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

 * The first value is the text for printing post.
 * The second value is the text for printing page.
 * Default: print_link(”, ”)
 * Alternatively, you can set the text in ‘WP-Admin -> Settings -> Print’.
 * If you DO NOT want the print link to appear in every post/page, DO NOT use the
   code above. Just type in **[print_link]** into the selected post/page content
   and it will embed the print link into that post/page only.

### Build Status

### Development

[https://github.com/lesterchan/wp-print](https://github.com/lesterchan/wp-print)

### Translations

[http://dev.wp-plugins.org/browser/wp-print/i18n/](http://dev.wp-plugins.org/browser/wp-print/i18n/)

### Credits

 * Plugin icon by [SimpleIcon](http://www.simpleicon.com) from [Flaticon](http://www.flaticon.com)
 * Icons courtesy of [FamFamFam](http://www.famfamfam.com/)

### Donations

I spent most of my free time creating, updating, maintaining and supporting these
plugins, if you really love my plugins and could spare me a couple of bucks as my
school allowance, I will really appreciate it. If not feel free to use it without
any obligations.

## Screenshots

 * [[
 * Admin Print Options
 * [[
 * Print Post Link
 * [[
 * Print Page

## FAQ

### 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.

## Reviews

![](https://secure.gravatar.com/avatar/f442de9912d44f24e96b2d6fd6118d5625249f927be46c0139a7d29350fd177a?
s=60&d=retro&r=g)

### 󠀁[nice & good](https://wordpress.org/support/topic/nice-good-8/)󠁿

 [Abdechakour](https://profiles.wordpress.org/abdechakour/) January 14, 2021

Its exactly what i search, light and customisable

![](https://secure.gravatar.com/avatar/2da9a16eeccf3c15dcbeef9c3131129156c5f853893e6c7cf3e0b7017868244b?
s=60&d=retro&r=g)

### 󠀁[i love this plugin](https://wordpress.org/support/topic/i-love-this-plugin-357/)󠁿

 [coddy7](https://profiles.wordpress.org/coddy7/) February 20, 2020

love this plugin

![](https://secure.gravatar.com/avatar/9bf5046b67cbdacde6e11ec9ad586e446fb5271885e0d00ad449c642530979f5?
s=60&d=retro&r=g)

### 󠀁[Color printing](https://wordpress.org/support/topic/color-printing/)󠁿

 [barrysklo](https://profiles.wordpress.org/barrysklo/) March 28, 2019

WP-Print is a nice plugin, very easy to use. I encounter a problem when printing
your special ‘print webpage’. Your webpage is always printed in black and white 
even the page has colored contents. Any idea? Many thanks!

![](https://secure.gravatar.com/avatar/36812e57454e91ab07ef49608bec19dd04c4e17ddd4113520b7975190806c40c?
s=60&d=retro&r=g)

### 󠀁[Easy and customizable](https://wordpress.org/support/topic/easy-and-customizable-7/)󠁿

 [creativis](https://profiles.wordpress.org/creativis/) February 7, 2019

If you dont need complicated functions and understand some of css, its your plugin.
Love it, thank you.

![](https://secure.gravatar.com/avatar/f5e374911b67f543d0e0fe88346d72056d9885ceb1e17d6ba883ba0caf176355?
s=60&d=retro&r=g)

### 󠀁[Possibly incompatible – seeing 404 instead](https://wordpress.org/support/topic/possibly-incompatible-seeing-404-instead/)󠁿

 [nycynik](https://profiles.wordpress.org/nycynik/) September 6, 2017 1 reply

I installed the plugin, then went to the configuration and was able to configure
the plug-in. Tried not installing the PHP on every page as per instructions, and
only adding the shortcode. That process seemed to work fine, the button appears 
and shows the text print. But when I click it, it tries to visit <domain>/<path/
to/post>/post/print Since /print is not a valid page, I assume this is something
the plugin should fix, but instead it shows 404.

![](https://secure.gravatar.com/avatar/79773657b52f8be86cb2cf6361b06bac140ac96daf85b45eee56a27ea077ef03?
s=60&d=retro&r=g)

### 󠀁[Broken](https://wordpress.org/support/topic/broken-557/)󠁿

 [MarkFinW](https://profiles.wordpress.org/markfinw/) July 18, 2017

404 instead of printing.

 [ Read all 43 reviews ](https://wordpress.org/support/plugin/wp-print/reviews/)

## Contributors & Developers

“WP-Print” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ Lester Chan ](https://profiles.wordpress.org/gamerz/)

“WP-Print” has been translated into 9 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/wp-print/contributors)
for their contributions.

[Translate “WP-Print” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-print)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-print/), check out
the [SVN repository](https://plugins.svn.wordpress.org/wp-print/), or subscribe 
to the [development log](https://plugins.trac.wordpress.org/log/wp-print/) by [RSS](https://plugins.trac.wordpress.org/log/wp-print/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

### 2.58.1

 * FIXED: Strip iframe tags as well.

### 2.58

 * NEW: Ability to print thumbnail. Props @MatthieuMota.

### 2.57.2

 * FIXED: Check both parent and child theme

### 2.57.1

 * NEW: Use translate.wordpress.org to translate the plugin
 * FIXED: Unable to update options

### 2.57

 * FIXED: Notices

### 2.56

 * NEW: Updated print HTML code. Props @Luanramos

### 2.55

 * NEW: Bump to 4.1
 * FIXED: get_the_category_list() optional secondary argument
 * FIXED: Replace font with p

### 2.54

 * NEW: Finally there is custom post type support. Props [nimmolo](http://andrewnimmo.org/).
 * NEW: Allow Multisite Network Activate
 * NEW: Uses WordPress uninstall.php file to uninstall the plugin

### 2.53

 * FIXED: Use get_stylesheet_directory() instead of TEMPLATEPATH

### 2.52

 * FIXED: Added nonce to Options. Credits to Charlie Eriksen via Secunia SVCRP.

### 2.51

 * NEW: Support for links that start with “//”
 * FIXED: Unable to load WP-Print on Password Protected posts

### 2.50

 * NEW: Uses jQuery Framework
 * NEW: [donotprint][/donotprint] ShortCode Will Not Be Displayed As Well When Using
   WP-Email (Refer To Usage Tab)
 * NEW: Use _n() Instead Of __ngettext() And _n_noop() Instead Of __ngettext_noop()
 * FIXED: Uses $_SERVER[‘PHP_SELF’] With plugin_basename(**FILE**) Instead Of Just
   $_SERVER[‘REQUEST_URI’]
 * FIXED: Nested ShortCode Issues

## Meta

 *  Version **2.58.2**
 *  Last updated **3 वर्षाः ago**
 *  Active installations **9,000+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **6.3.8**
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/wp-print/), [English (UK)](https://en-gb.wordpress.org/plugins/wp-print/),
   [English (US)](https://wordpress.org/plugins/wp-print/), [French (France)](https://fr.wordpress.org/plugins/wp-print/),
   [German](https://de.wordpress.org/plugins/wp-print/), [Greek](https://el.wordpress.org/plugins/wp-print/),
   [Hungarian](https://hu.wordpress.org/plugins/wp-print/), [Russian](https://ru.wordpress.org/plugins/wp-print/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/wp-print/), and [Swedish](https://sv.wordpress.org/plugins/wp-print/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wp-print)
 * Tags
 * [print](https://sa.wordpress.org/plugins/tags/print/)[printer](https://sa.wordpress.org/plugins/tags/printer/)
   [wp-print](https://sa.wordpress.org/plugins/tags/wp-print/)
 *  [Advanced View](https://sa.wordpress.org/plugins/wp-print/advanced/)

## Ratings

 4.4 out of 5 stars.

 *  [  31 5-star reviews     ](https://wordpress.org/support/plugin/wp-print/reviews/?filter=5)
 *  [  4 4-star reviews     ](https://wordpress.org/support/plugin/wp-print/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/wp-print/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/wp-print/reviews/?filter=2)
 *  [  4 1-star reviews     ](https://wordpress.org/support/plugin/wp-print/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-print/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-print/reviews/)

## Contributors

 *   [ Lester Chan ](https://profiles.wordpress.org/gamerz/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-print/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://lesterchan.net/site/donation/)