WP-Print

in Wordpress Plugin

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

Installation
1. Open wp-content/plugins Folder
2. Put:

Folder: wp-print

3. Activate WP-Print Plugin
4. You Need To Re-Generate The Permalink (WP-Admin -> Settings -> Permalinks -> Save Changes)
5. Refer To Usage For Further Instructions

Usage
1. Open wp-content/themes//index.php

You may place it in single.php, post.php, page.php or theloop.php also.
2. Find:

<?php while (have_posts()) : the_post(); ?>

3. Add Anywhere Below It:

<?php if(function_exists(‘wp_print’)) { print_link(); } ?>

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.

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’.
4. Go to ‘WP-Admin -> Settings -> Print’ to configure the style of the print text link.

Note

* If you do not want to print a portion of your post’s content, do the following:

[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.
* WP-Print will load ‘print-css.css’, ‘print-posts.php’ and ‘print-comments.php’ from your theme’s directory if it exists.
o If it doesn’t exists, it will just load the respective defalult file that comes with WP-Print.
o This will allow you to upgrade WP-Print without worrying about overwriting your printing styles or templates that you have created.

http://wordpress.org/extend/plugins/wp-print/

http://lesterchan.net/wordpress/readme/wp-print.html

Leave a Comment

*

Previous post:

Next post: