PluginProbe
WP-Print / 2.54
WP-Print v2.54
3.0.0 trunk 1.00 2.00 2.01 2.02 2.03 2.04 2.05 2.06 2.10 2.11 2.20 2.30 2.31 2.40 2.50 2.52 2.53 2.54 2.55 2.56 2.57 2.57.1 2.57.2 All 29 releases
wp-print / readme.txt

readme.txt in WP-Print 2.54, at readme.txt

213 lines 9.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 === WP-Print ===
2 Contributors: GamerZ
3 Donate link: http://lesterchan.net/site/donation/
4 Tags: print, printer, wp-print
5 Requires at least: 2.8
6 Tested up to: 4.0
7 Stable tag: 2.54
8
9 Displays a printable version of your WordPress blog's post/page.
10
11 == Description ==
12
13 = Build Status =
14 [![Build Status](https://travis-ci.org/lesterchan/wp-print.svg?branch=master)](https://travis-ci.org/lesterchan/wp-print)
15
16 = Development =
17 [https://github.com/lesterchan/wp-print](https://github.com/lesterchan/wp-print "https://github.com/lesterchan/wp-print")
18
19 = Translations =
20 [http://dev.wp-plugins.org/browser/wp-print/i18n/](http://dev.wp-plugins.org/browser/wp-print/i18n/ "http://dev.wp-plugins.org/browser/wp-print/i18n/")
21
22 = Credits =
23 * Plugin icon by [SimpleIcon](http://www.simpleicon.com) from [Flaticon](http://www.flaticon.com)
24 * Icons courtesy of [FamFamFam](http://www.famfamfam.com/)
25
26 = Donations =
27 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. Thank You. My Paypal account is lesterchan@gmail.com.
28
29 == Installation ==
30
31 You can either install it automatically from the WordPress admin, or do it manually:
32
33 1. Upload the whole `wp-print` directory into your plugins folder(`/wp-content/plugins/`)
34 1. Activate the plugin through the 'Plugins' menu in WordPress
35
36 Once installed take the following steps to set it up:
37
38 1. WP-Print settings page is located in WP-Admin -> Settings -> Print
39 1. You Need To Re-Generate The Permalink (WP-Admin -> Settings -> Permalinks -> Save Changes)
40 1. Refer To Usage For Further Instructions
41
42 = Usage =
43
44 1. Open `wp-content/themes/<YOUR THEME NAME>/index.php`
45 You may place it in single.php, post.php, page.php, etc also.
46 1. Find: `<?php while (have_posts()) : the_post(); ?>`
47 1. Add Anywhere Below It: `<?php if(function_exists('wp_print')) { print_link(); } ?>`
48
49 * The first value is the text for printing post.
50 * The second value is the text for printing page.
51 * Default: print_link('', '')
52 * Alternatively, you can set the text in 'WP-Admin -> Settings -> Print'.
53 * If you DO NOT want the print link to appear in every post/page, DO NOT use the code above. Just type in <strong>[print_link]</strong> into the selected post/page content and it will embed the print link into that post/page only.
54
55
56 == Screenshots ==
57
58 1. Admin Print Options
59 2. Print Post Link
60 3. Print Page
61
62 == Frequently Asked Questions ==
63
64 = How do I add this to my theme? =
65
66 1. Open `wp-content/themes/<YOUR THEME NAME>/index.php`
67 You may place it in single.php, post.php, page.php, etc also.
68 1. Find: `<?php while (have_posts()) : the_post(); ?>`
69 1. Add Anywhere Below It: `<?php if(function_exists('wp_print')) { print_link(); } ?>`
70
71 Simply add this code <strong>inside the loop ### where you want the print link to display:
72 <code>
73 if(function_exists('wp_print')) {
74 print_link();
75 }
76 </code>
77
78 = If you do not want to print a portion of your post's content =
79 <code>
80 [donotprint]Text within this tag will not be displayed when printing[/donotprint]
81 </code>
82 * The text within [donotprint][/donotprint] will not be displayed when you are viewing a printer friendly version of a post or page.
83 * However, it will still be displayed as normal on a normal post or page view.
84 * Do note that if you are using WP-Email, any text within [donotprint][/donotprint] will not be emailed as well.
85
86 = Custom Template =
87 * WP-Print will load 'print-css.css', '<strong>print-posts.php' and 'print-comments.php' from your theme's directory if it exists.
88 * If it doesn't exists, it will just load the respective default file that comes with WP-Print.
89 * This will allow you to upgrade WP-Print without worrying about overwriting your printing styles or templates that you have created.
90
91
92 == Changelog ==
93
94 = 2.54 =
95 * NEW: Finally there is custom post type support. Props [nimmolo](http://andrewnimmo.org/ "nimmolo").
96 * NEW: Allow Multisite Network Activate
97 * NEW: Uses WordPress uninstall.php file to uninstall the plugin
98
99 = 2.53 =
100 * FIXED: Use get_stylesheet_directory() instead of TEMPLATEPATH
101
102 = 2.52 =
103 * FIXED: Added nonce to Options. Credits to Charlie Eriksen via Secunia SVCRP.
104
105 = 2.51 =
106 * NEW: Support for links that start with "//"
107 * FIXED: Unable to load WP-Print on Password Protected posts
108
109 = 2.50 =
110 * NEW: Uses jQuery Framework
111 * NEW: [donotprint][/donotprint] ShortCode Will Not Be Displayed As Well When Using WP-Email (Refer To Usage Tab)
112 * NEW: Use _n() Instead Of __ngettext() And _n_noop() Instead Of __ngettext_noop()
113 * FIXED: Uses $_SERVER['PHP_SELF'] With plugin_basename(__FILE__) Instead Of Just $_SERVER['REQUEST_URI']
114 * FIXED: Nested ShortCode Issues
115
116 = 2.40 =
117 * NEW: Works For WordPress 2.7 Only
118 * NEW: Better Translation Using __ngetext() by Anna Ozeritskaya
119 * NEW: Right To Left Language Support by Kambiz R. Khojasteh
120 * NEW: Call print_textdomain() In print_init() by Kambiz R. Khojasteh
121 * NEW: Replace "text_direction" Option With $text_direction And language_attributes() by Kambiz R. Khojasteh
122 * NEW: Added "print-css-rtl.css" by Kambiz R. Khojasteh
123 * NEW: Page Title Is Now "Post Title -> Print" Instead Of "Print -> Post Title" by Kambiz R. Khojasteh
124 * NEW: Modified "print-css.css" To Hide "comments_controls" Element For Print by Kambiz R. Khojasteh
125 * FIXED: Footnotes Referencing Is Now "link1 <sup>[1]</sup>" Instead Of "[1] link1" by Kambiz R. Khojasteh
126 * FIXED: Remove chunk_split() As Browser Will Try To Wrap Word Boundaries Based On Page Width by Kambiz R. Khojasteh
127 * FIXED: Remove [print_link] ShortCode In Print Pages
128
129 = 2.31 =
130 * NEW: Works For WordPress 2.6
131 * NEW: Added donotprint ShortCode. See Usage Tab
132 * NEW: WP-Print Will Load print-posts.php And print-comments.php Templates From Your Theme Directory First If The Exist
133 * FIXED: Replace &lt;center&gt; With &lt;div style="margin: 0px auto 0px auto;"&gt;
134
135 = 2.30 =
136 * NEW: Works For WordPress 2.5 Only
137 * NEW: WP-Print Will Load 'print-css.css' Inside Your Theme Directory If It Exists. If Not, It Will Just Load The Default 'print-css.css' By WP-Print
138 * NEW: Uses Shortcode API
139 * NEW: Added "Right To Left" And "Left To Right Text" Direction Option
140 * NEW: Option To Remove Videos From Post
141 * NEW: Duplicate Links Now Uses A Single Number And Printed Only Once By Constantinos Neophytou
142 * NEW: &lt;IMG&gt; And &lt;A&gt; Tag Now Matches Single Quotes By Constantinos Neophytou
143 * NEW: Uses /wp-print/ Folder Instead Of /print/
144 * NEW: Uses wp-print.php Instead Of print.php
145 * NEW: Changed wp-print.php To print-posts.php
146 * NEW: Changed wp-print-comments.php To print-comments.php
147 * NEW: Changed wp-print-css.css To print-css.css
148 * FIXED: Comment Type Not Translated
149
150 = 2.20 =
151 * NEW: Works For WordPress 2.3 Only
152 * NEW: Ability To Embed [print_link] Into Excerpt
153 * NEW: wp-print-css.css Now Controls The CSS Styles For The Printer Friendly Page
154 * NEW: Disclaimer/Copyright Text Option By Duane Craig
155 * NEW: Anchor Link To Comments By Reinventia
156 * NEW: Collapsable Comments By Reinventia
157 * NEW: Ability To Uninstall WP-Print
158 * FIXED: If There Is No Trailing Slash In Your Permalink, WP-Print Will Add It For You
159
160 = 2.11 =
161 * NEW: Putting [print_link] In Your Post/Page Content Will Display A Link To The Printable Post/Page
162 * FIXED: Worked With Polyglot Plugin, Fixed By zeridon
163 * FIXED: Wrong URL If Front Page Is A Static Page
164
165 = 2.10 =
166 * NEW: Added Fam Fam Fam's Printer Icon
167 * NEW: Works For WordPress 2.1 Only
168 * NEW: Localize WP-Print
169 * NEW: Ability To Configure The Text For Print Links Via 'WP-Admin -> Options -> Print'
170 * NEW: The Text For Print Links Can No Longer Be Pass To The Function print_link() or print_link_image()
171 * FIXED: MUltiple URL Type Fixed By Virgil
172 * FIXED: 'Click Here To Print' Will Be Hidden When Printing By Joe (Ttech)
173
174 = 2.06 =
175 * NEW: Used Default Date/Time Format Under WordPress Options
176 * NEW: Added robots: noindex To Printer Friendly Pages
177 * NEW: Added rel="nofollow" To All Links Generated By WP-Print
178 * FIXED: &lt;abbr&gt; Tag Mixed Up With &lt;a&gt;
179 * FIXED: PHP5 Compatibility Issue
180 * FIXED: Long URL Will Not Break Into More Than 1 Line
181
182 = 2.05 =
183 * NEW: Added Print Options In WP Administration Panel Under 'Options -> Print'
184 * NEW: Print Administration Panel And The Code That WP-Print Generated Is XHTML 1.0 Transitional
185 * FIXED: Comment's Content Formatting
186
187 = 2.04 =
188 * NEW: Able To Print Comments Together With Post Using $can_print_comments In wp-print.php
189 * NEW: Moved wp-print.php To Plugin Folder
190 * FIXED: Removed Link From Post Comment Count And Post Category
191
192 = 2.03 =
193 * NEW: Added Print Image With print_link_image()
194 * NEW: Automatically Break To Next Line If Link Contains More Than 100 Chars
195 * FIXED: Comment Numbers Showing In Password Protected Post
196
197 = 2.02 =
198 * FIXED: Able To View Password Protected Blog
199
200 = 2.01 =
201 * NEW: Compatible With WordPress 2.0
202 * NEW: Automatically Detect Whether You Are Using Nice Permalink
203 * NEW: Automated Permalink
204 * NEW: Now You Only Need To Insert 1 Line Into Your index.php Of Your Theme
205 * NEW: GPL License Added
206 * FIXED: Links Not Displaying Properly When Printing More Than 1 Post On A Single Page
207
208 = 2.00a =
209 * NEW: Permlink For The Page Feature
210
211 = 2.00 =
212 * NEW: Print Out A Summary Of URLS In The Post At The Bottom Of The Page
213