PluginProbe
PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin / 1.7.1
PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin v1.7.1
trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.7.7 1.7.8 1.7.9 1.8.0 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.1 All 71 releases
← All changes | readme.txt +37 -253 1.8.6 → 1.7.1 View file →
@@ -1,11 +1,11 @@
1 -=== PDF & Print by BestWebSoft ===
1 +=== PDF & Print ===
2 2 Contributors: bestwebsoft
3 -Donate link: http://bestwebsoft.com/donate/
4 -Tags: add pdf button, add pdf print button, archive pdf, button, best pdf plugin, best pdf and print pugin, best pdf button, best pdf print button, free pdf plugin, free pdf and print plugin, insert shortcode, generate pdf, generate pdf content, generate post pdf, pdf, pdf and print, pdf&print, pdfandprint, pdf button, pdf content, pdf custom post type, pdf page, pdf pages, pdf post, pdf posts, pdf print, pdf print button, pdf print content, pdf print plugin, pdf print plugins, pdf print portfolio, pdf search results, plugin, print, printable, printing, print button, print content, print custom post type, print page, print pages, print post, print posts, print post content, printing output, shortcode, simple pdf plugin, simple pdf print plugin, simple pdf button, simple pdf print button, wp plugin, wp pdf plugin, wp pdf print plugin, wp pdf button, wp pdf print button, wordpress plugin, wordpress pdf plugin, wordpress pdf button, wordpress pdf print plugin, wordpress pdf print button
5 -Requires at least: 3.8
6 -Tested up to: 4.4
7 -Stable tag: 1.8.6
3 +Donate link: https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=10&product_id=13
4 +Tags: pdf, print, pdf print, pdf and print, pdf button, print button, pdf print button, print content, pdf content, pdf print content, pdf post, print post, print post content, generate pdf, generate pdf content, generate post pdf
5 +Requires at least: 3.0
6 +Tested up to: 3.8.1
7 +Stable tag: 1.7.1
8 8 License: GPLv2 or later
9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html
10 10
11 11 Add PDF and Print button to your WordPress website.
@@ -13,28 +13,22 @@
13 13 == Description ==
14 14
15 15 PDF & Print allows you in the easiest and most flexible way to create PDF and Print page with adding appropriate buttons to the content. PDF & Print using mpdf library under GPLv2 license.
16 16
17 -http://www.youtube.com/watch?v=EM6AEkD9M_s
17 +<a href="http://wordpress.org/plugins/pdf-print/faq/" target="_blank">FAQ</a>
18 18
19 -<a href="http://www.youtube.com/watch?v=E3w9ID3p2-A" target="_blank">PDF & Print by BestWebSoft Video instruction on Installation</a>
19 +<a href="http://support.bestwebsoft.com" target="_blank">Support</a>
20 20
21 -<a href="http://wordpress.org/plugins/pdf-print/faq/" target="_blank">PDF & Print by BestWebSoft FAQ</a>
21 +<a href="http://bestwebsoft.com/plugin/pdf-print-pro/?k=6a544b359e625de8281a635315d84a70" target="_blank">Upgrade to Pro Version</a>
22 22
23 -<a href="http://support.bestwebsoft.com" target="_blank">PDF & Print by BestWebSoft Support</a>
24 -
25 -<a href="http://bestwebsoft.com/products/pdf-print/?k=6a544b359e625de8281a635315d84a70" target="_blank">Upgrade to PDF & Print Pro by BestWebSoft</a>
26 -
27 23 = Features =
28 24
29 -* Create PDF and Print page with adding appropriate buttons to the content.
30 -* Create PDF and Print search results and pages of archives with adding appropriate buttons to the content.
31 -* Create PDF and Print content from custom post type with adding appropriate buttons to the content.
32 -* Use execution of shortcode in pdf and printing output.
33 -* Add custom styles.
34 -* Show title and featured image in the pdf/print document.
35 -* Load additional fonts.
36 -* Select the position of buttons in content (top left, top right, bottom left, bottom right).
25 +* Actions: Ability to create PDF and Print page with adding appropriate buttons to the content.
26 +* Actions: Ability to create PDF and Print search results and pages of archives with adding appropriate buttons to the content.
27 +* Actions: Ability to create PDF and Print content from custom post type with adding appropriate buttons to the content.
28 +* Actions: Ability to create PDF and Print portfolio or single portfolio for Portfolio plugin (powered by bestwebsoft.com) with adding appropriate buttons to the content.
29 +* Actions: Ability to use execution of shortcode in pdf and printing output.
30 +* Display: This plugin allows you to select the position of buttons in content (top left, top right, bottom left, bottom right), search or archives pages or custom post type (align left, align right).
37 31
38 32 = Recommended Plugins =
39 33
40 34 The author of the PDF & Print also recommends the following plugins:
@@ -39,11 +33,11 @@
39 33
40 34 The author of the PDF & Print also recommends the following plugins:
41 35
42 36 * <a href="http://wordpress.org/plugins/updater/">Updater</a> - This plugin updates WordPress core and the plugins to the recent versions. You can also use the auto mode or manual mode for updating and set email notifications.
43 -There is also a premium version of the plugin <a href="http://bestwebsoft.com/products/updater/?k=d74ca3ffdf910e4ec8ee8774573e7b67">Updater Pro</a> with more useful features available. It can make backup of all your files and database before updating. Also it can forbid some plugins or WordPress Core update.
37 +There is also a premium version of the plugin <a href="http://bestwebsoft.com/plugin/updater-pro/?k=d74ca3ffdf910e4ec8ee8774573e7b67">Updater Pro</a> with more useful features available. It can make backup of all your files and database before updating. Also it can forbid some plugins or WordPress Core update.
44 38
45 -= Translation =
39 += Translate =
46 40
47 41 * Russian (ru_RU)
48 42 * Ukrainian (uk)
49 43
@@ -63,156 +57,52 @@
63 57 1. Upload `pdf-print` folder to the `/wp-content/plugins/` directory.
64 58 2. Activate the plugin via the 'Plugins' menu in WordPress.
65 59 3. Plugin settings are located in "BWS Plugins" > "PDF & Print".
66 60
67 -View a <a href="https://docs.google.com/document/d/1Wwins2PmrzAYiEgFZDtRzMNDq9Sr7XDeqjGNm7b-oi8/edit" target="_blank">Step-by-step Instruction on PDF & Print Installation</a>
68 -
69 -http://www.youtube.com/watch?v=E3w9ID3p2-A
70 -
71 61 == Frequently Asked Questions ==
72 62
73 63 = How to change position buttons in content =
74 64
75 -Go to the Settings page and change value for the 'Position of buttons in the content' field.
65 +Go to the Settings page and change value for the 'Position of buttons in content' field.
76 66
77 67 = How to change position buttons in search or archives pages =
78 68
79 -Go to the Settings page and change necessary values for the 'Search and archive pages' column.
69 +Go to the Settings page and change value for the 'Position of buttons on search or archive page' field.
80 70
81 71 = Buttons for content do not appear on page =
82 72
83 73 Go to the Settings page and change value for the 'Show PDF button' or 'Show Print button' fields.
84 74
85 -= Why are PDF and Print buttons not displayed in the custom post type =
75 += Buttons do not appear on search and archives pages =
86 76
87 -In order to use PDF and Print buttons on the custom post or page template you should paste the following string:
77 +Go to the Settings page and change value for the 'Show PDF button for search or archive page' or 'Show Print button for search or archive page' fields.
78 +And you need to add the source code <?php if ( function_exists ( 'pdfprnt_show_buttons_search_archive' ) ) echo pdfprnt_show_buttons_search_archive (); ?> In the files search.php or archives.php.
88 79
89 -- in the top of the post or page template
80 += Menu to generate pdf file is not displayed in the adminbar for administrator =
90 81
91 -`<?php do_action( 'bwsplgns_display_pdf_print_buttons', 'top' ); ?>`
82 +Menu to generate pdf documents is displayed if you are an administrator only in the pages of the archives and if there is at least one search result.
92 83
93 -- in the bottom of the post or page template
84 += Buttons do not appear on portfolio and portfolio page =
94 85
95 -`<?php do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom' ); ?>`
86 +In order to display PDF and Print Buttons of Portfolio plugin for the post it is necessary to insert the source code <?php if ( function_exists( 'pdfprnt_show_buttons_for_bws_portfolio_post' ) ) echo pdfprnt_show_buttons_for_bws_portfolio_post(); ?> in files portfolio.php or portfolio-post.php which are located in the template.
96 87
97 -You can specify some query parameters for your post. For example:
88 +In order to display PDF and Print Buttons of Portfolio plugin for all posts on a page it is neessary to insert the source code <?php if ( function_exists( 'pdfprnt_show_buttons_for_bws_portfolio' ) ) echo pdfprnt_show_buttons_for_bws_portfolio(); ?> in file portfolio.php which is located in the template.
98 89
99 -`<?php do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom', 'post_type=gallery&orderby=post_date' ); ?>`
90 += Why are PDF and Print buttons not displayed in the custom post type =
100 91
101 -or
92 +In order to display PDF and Print Buttons of Portfolio plugin for custom post type it is necessary to insert the source code <?php if ( function_exists( 'pdfprnt_show_buttons_for_custom_post_type' ) ) echo pdfprnt_show_buttons_for_custom_post_type( $query_posts ); ?> where you need to specify query parameters for your custom post. For example: <?php if ( function_exists( 'pdfprnt_show_buttons_for_custom_post_type' ) ) echo pdfprnt_show_buttons_for_custom_post_type( 'post_type=gallery&orderby=post_date' ); ?> or <?php if ( function_exists( 'pdfprnt_show_buttons_for_custom_post_type' ) ) echo pdfprnt_show_buttons_for_custom_post_type( array( 'post_type' => 'gallery', 'orderby' => 'post_date' ) ); ?>. To find more information on syntax for assigning parameters to function see <a href="http://codex.wordpress.org/Class_Reference/WP_Query#Parameters">here</a>.
102 93
103 -`<?php do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom', array( 'post_type'=>'gallery', 'orderby'=>'post_date' ) ); ?>`
104 -
105 -For more information on the syntax for assigning parameters to function see <a target="_blank" href="http://codex.wordpress.org/Class_Reference/WP_Query#Parameters">here</a>.
106 -
107 -= Why in pdf/print-document displayed not all information from page =
108 -
109 -For generating a pdf/print page version, PDF & Print plugin uses the content that is featured in the body of post/page before it is displayed by the browser (i.e. the data featured in the main block on this post/page in the edit mode).
110 -
111 94 = If I have shortcode on the page, but I don't want them to be printed (add to pdf) =
112 95
113 -Go to the Settings page and unmark checkbox 'Settings for shortcodes'.
96 +Go to the Settings page and unmark checkbox 'Settings for shortcode'.
114 97
115 -= How can I change the content pdf/print document? =
116 -
117 -In order to change main content of pdf/print document you can use following filter:
118 -
119 -`add_filter( 'bwsplgns_get_pdf_print_content', {your_function} );`
120 -
121 -For example, add the following code to the 'functions.php' file of your theme:
122 -
123 -`add_filter(
124 - 'bwsplgns_get_pdf_print_content',
125 - function( $content ) {
126 - $my_content = '<p>Lorem ipsum dolor sit amet</p>';
127 - $more_content = '<p>Donec fringilla libero ac sapien</p>';
128 -
129 - /* if you want add some data before to the main content */
130 - return $my_content . $content;
131 -
132 - /* if you want add some data after the main content */
133 - return $content . $my_content;
134 -
135 - /* if you want add some data both sides the main content */
136 - return $my_content . $content . $more_content;
137 -
138 - /* if you want add some data instead of the main content */
139 - return $my_content;
140 - }
141 -);`
142 -
143 -
144 -For more information about WordPress filters see <a target="_blank" href="https://codex.wordpress.org/Function_Reference/add_filter">here</a>.
145 -
146 -= How can I add different styles to PDF and Print pages? =
147 -
148 -To do that, enter the required styles in the "edit styles" field on the Settings page. You can use the class 'pdfprnt_pdf'(pdfprnt_print) in order to add some styles only for PDF(Print) pages.
149 -
150 -( To display "edit styles" field go Dashboard->BWS Plugins->PDF & Print and mark "Add custom styles" checkbox )
151 -
152 -For example:
153 -
154 -`.pdfprnt_pdf p {
155 - color: green;
156 -}
157 -.pdfprnt_print p {
158 - color: red;
159 -}`
160 -
161 -Also you can use filter 'bwsplgns_add_pdf_print_styles' to include additional css-files.
162 -
163 -For example:
164 -
165 -Let's imagine that you have files style.css, style_print.css and style_pdf.css and you want include them to your PDF or Print pages.
166 -
167 -1. upload these files to the folder 'wp-content/uploads' via FTP.
168 -2. add the following code to the 'functions.php' file of your theme:
169 -
170 -`add_filter(
171 - 'bwsplgns_add_pdf_print_styles',
172 - function( $styles ) {
173 - $styles[] = array( 'wp-content/uploads/style_pdf.css', 'pdf' ); /* file will be included to PDF pages */
174 - $styles[] = array( 'wp-content/uploads/style_print.css', 'print' ); /* file will be included only to Print pages */
175 - $styles[] = array( 'wp-content/uploads/style.css' ); /* file will be included to PDF and Print pages */
176 - return $styles;
177 - }
178 -);`
179 -
180 -
181 -= I get an error "Warning: file_put_contents(/public_html/wp-content/plugins/pdf-print/mpdf/ttfontdata/dejavusanscondensed.GSUBGPOStables.dat): failed to open stream: Permission denied in /home/kad/www/wp.beta/wp-content/plugins/pdf-print/mpdf/classes/ttfontsuni.php on line 1145". What can I do? =
182 -
183 -Probably, you don't have sufficient access permissions to files and folders.
184 -
185 -To solve this, please try the following:
186 -
187 -1. using FTP, please go to the folder "/public_html/wp-content/plugins/pdf-print"
188 -2. please check what permissions are set on the "mpdf" folder (755 must be set for the folder and 644 for files)
189 -3. if there are another permissions set, please change them
190 -
191 -For more info see <a target="_blank" href="https://codex.wordpress.org/Changing_File_Permissions">Changing File Permissions</a>.
192 -
193 -= How can I load additional fonts for MPDF library? =
194 -
195 -Please follow the next steps:
196 -
197 -1. go to the plugin`s settings page
198 -2. click "Load Fonts" button
199 -
200 -or
201 -
202 -1. download MPDF library by link http://mpdf1.com/repos/MPDF60.zip
203 -2. using FTP, load the file MPDF60.zip to the folder "{your_site_home_folder}/wp-content/uploads"
204 -3. go to the plugin`s settings page
205 -4. click "Load Fonts" button
206 -
207 98 = I have some problems with the plugin's work. What Information should I provide to receive proper support? =
208 99
209 100 Please make sure that the problem hasn't been discussed yet on our forum (<a href="http://support.bestwebsoft.com" target="_blank">http://support.bestwebsoft.com</a>). If no, please provide the following data along with your problem's description:
210 -
211 101 1. the link to the page where the problem occurs
212 102 2. the name of the plugin and its version. If you are using a pro version - your order number.
213 103 3. the version of your WordPress installation
214 -4. copy and paste into the message your system status report. Please read more here: <a href="https://docs.google.com/document/d/1Wi2X8RdRGXk9kMszQy1xItJrpN0ncXgioH935MaBKtc/edit" target="_blank">Instruction on System Status</a>
104 +4. copy and paste into the message your system status report. Please read more here: <a href="http://bestwebsoft.com/wp-content/uploads/manual/wp_plugin/general/System_Status.pdf" target="_blank">System_Status.pdf</a>
215 105
216 106 == Screenshots ==
217 107
218 108 1. Page settings for the PDF & Print in admin panel.
@@ -217,77 +107,16 @@
217 107
218 108 1. Page settings for the PDF & Print in admin panel.
219 109 2. Displaying buttons pdf and print in the post on your WordPress website.
220 110 3. Displaying buttons pdf and print on archive page of your WordPress website.
221 -4. Printing output page example.
222 -5. PDF output page example.
111 +4. Generating PDF document in search results and pages archive with the choice of templates only for administrator.
112 +5. Printing output page example.
113 +6. PDF output page example.
223 114
224 115 == Changelog ==
225 116
226 -= V1.8.6 - 30.11.2015 =
227 -* Bugfix : The bug with plugin menu duplicating was fixed.
228 -* Bugfix : The bug with the function which is outputted using 'the_content' was fixed.
229 -
230 -= V1.8.5 - 18.11.2015 =
231 -* New : An ability to add custom styles was added.
232 -* New : An ability to show/hide title and featured image in the pdf/print document was added.
233 -* Update : "Bwsplgns_get_pdf_print_content"-hook`s call was changed.
234 -* Update : All functionality for wordpress 4.4-beta3 was updated.
235 -
236 -= V1.8.4 - 01.09.2015 =
237 -* New : Added hooks for the possibility of changing the content of the pdf/print document.
238 -* Update : We updated functionality for displaying pdf/print buttons via functions.
239 -* Update : We updated all functionality for wordpress 4.3.
240 -
241 -= V1.8.3 - 15.07.2015 =
242 -* New : We added Top & Bottom Position of buttons in the content.
243 -
244 -= V1.8.2 - 19.06.2015 =
245 -* Bugfix : We fixed the bug with instalation of the additional fonts.
246 -
247 -= V1.8.1 - 17.06.2015 =
248 -* Attention : We changed plugin settings structure. If you are experiencing problems with the plugin work, please contact us via <a href="http://support.bestwebsoft.com" target="_blank">support</a>.
249 -* Bugfix : We fixed the bug with displaying images in pdf-document.
250 -* Bugfix : We fixed the bug with creation of rtl-oriented documents.
251 -* New : Added ability to load additional fonts.
252 -* Update : We updated styles for generate pdf/print page version with default stylesheet.
253 -* Update : We updated functionality for displaying pdf/print buttons in any place of your site.
254 -* Update : We updated MPDF library to version 6.0.
255 -
256 -= V1.8.0 - 18.05.2015 =
257 -* Update : We updated all functionality for wordpress 4.2.2.
258 -
259 -= V1.7.9 - 24.04.2015 =
260 -* Bugfix : We fixed the bug with placing buttons on custom post pages, search pages and archives.
261 -* Update : We updated all functionality for wordpress 4.2.
262 -
263 -= V1.7.8 - 11.02.2015 =
264 -* Update : We updated mPDF to 5.7.4 version.
265 -
266 -= V1.7.7 - 09.01.2015 =
267 -* Update : BWS plugins section is updated.
268 -* Update : We updated all functionality for wordpress 4.1.
269 -
270 -= V1.7.6 - 16.10.2014 =
271 -* Bugfix : We fixed js errors.
272 -
273 -= V1.7.5 - 07.09.2014 =
274 -* Bugfix : Security Exploit was fixed.
275 -
276 -= V1.7.4 - 06.08.2014 =
277 -* Update : We updated all functionality for wordpress 4.0-beta2.
278 -* Bugfix : Bug with Warning output in Dashboard was fixed.
279 -
280 -= V1.7.3 - 28.05.2014 =
281 -* Update : We updated all functionality for wordpress 3.9.1.
282 -* Update : The Ukrainian language is updated in the plugin.
283 -* Bugfix : Bug with dispalying error while searching in admin area was fixed.
284 -
285 -= V1.7.2 - 14.04.2014 =
286 -* Update : We updated all functionality for wordpress 3.8.2.
287 -
288 117 = V1.7.1 - 05.03.2014 =
289 -* Bugfix : Plugin optimization is done.
118 +* Budfix : Plugin optimization is done.
290 119 * Update : Plugin tabs is added.
291 120
292 121 = V1.7 - 21.02.2014 =
293 122 * New : We added posibility to turn on showing of Printer choosing window.
@@ -305,9 +134,9 @@
305 134 * Update : Activation of radio button or checkbox by clicking on its label.
306 135 * NEW : Add checking installed wordpress version.
307 136
308 137 = V1.4 - 11.10.2013 =
309 -* NEW: Added ability to switch on/off execution of shortcodes in pdf and printing output.
138 +* NEW: Added ability to switch on/off execution of shorcodes in pdf and printing output.
310 139 * NEW: Added new screenshots.
311 140 * Update : Updated code, changed some styles.
312 141 * Bugfix : Content on PDF preview now is shown.
313 142 * Bugfix : Fixed problems with styles of choosed template in admin bar.
@@ -325,53 +154,8 @@
325 154 * NEW : Added the ability to output PDF and Print buttons on the type of page.
326 155
327 156 == Upgrade Notice ==
328 157
329 -= V1.8.6 =
330 -The bug with plugin menu duplicating was fixed. The bug with the function which is outputted using 'the_content' was fixed.
331 -
332 -= V1.8.5 =
333 -An ability to add custom styles was added. An ability to reload additional fonts was added. An ability to show/hide title and featured image in the pdf/print document was added. "Bwsplgns_get_pdf_print_content"-hook`s call was changed. All functionality for wordpress 4.4-beta3 was updated.
334 -
335 -= V1.8.4 =
336 -Added hooks for the possibility of changing the content of the pdf/print document. We updated functionality for displaying pdf/print buttons via functions. We updated all functionality for wordpress 4.3.
337 -
338 -= V1.8.3 =
339 -We added Top & Bottom Position of buttons in the content.
340 -
341 -= V1.8.2 =
342 -We fixed the bug with instalation of the additional fonts.
343 -
344 -= V1.8.1 =
345 -We changed plugin settings structure. We fixed the bug with displaying images in pdf-document. We fixed the bug with creation of rtl-oriented documents. Added ability to load additional fonts. We updated styles for generate pdf/print page version with default stylesheet. We updated functionality for displaying pdf/print buttons in any place of your site. We updated MPDF library to version 6.0.
346 -
347 -= V1.8.0 =
348 -We updated all functionality for wordpress 4.2.2.
349 -
350 -= V1.7.9 =
351 -We fixed the bug with placing buttons on custom post pages, search pages and archives. We updated all functionality for wordpress 4.2.
352 -
353 -= V1.7.8 =
354 - We updated mPDF to 5.7.4 version.
355 -
356 -= V1.7.7 =
357 -BWS plugins section is updated. We updated all functionality for wordpress 4.1.
358 -
359 -= V1.7.6 =
360 -We fixed js errors.
361 -
362 -= V1.7.5 =
363 -Security Exploit was fixed.
364 -
365 -= V1.7.4 =
366 -We updated all functionality for wordpress 4.0-beta2. Bug with Warning output in Dashboard was fixed.
367 -
368 -= V1.7.3 =
369 -We updated all functionality for wordpress 3.9.1. The Ukrainian language is updated in the plugin. Bug with dispalying error while searching in admin area was fixed.
370 -
371 -= V1.7.2 =
372 -We updated all functionality for wordpress 3.8.2.
373 -
374 158 = V1.7.1 =
375 159 Plugin optimization is done. Plugin tabs is added.
376 160
377 161 = V1.7 =
@@ -383,9 +167,9 @@
383 167 = V1.5 =
384 168 We updated all functionality for wordpress 3.7.1. Activation of radio button or checkbox by clicking on its label. Add checking installed wordpress version.
385 169
386 170 = V1.4 =
387 -Added ability to switch on/off execution of shortcodes in pdf and printing output. Added new screenshots. Updated code, changed some styles. Content in on PDF preview now is showned. Fixed problems with styles of choosed template in admin bar.
171 +Added ability to switch on/off execution of shorcodes in pdf and printing output. Added new screenshots. Updated code, changed some styles. Content in on PDF preview now is showned. Fixed problems with styles of choosed template in admin bar.
388 172
389 173 = V1.3 =
390 174 Added functionality for use with custom post type.
391 175