{"id":676,"date":"2006-01-03T07:46:10","date_gmt":"2006-01-03T07:46:10","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-print\/"},"modified":"2023-08-09T03:06:00","modified_gmt":"2023-08-09T03:06:00","slug":"wp-print","status":"publish","type":"plugin","link":"https:\/\/ibo.wordpress.org\/plugins\/wp-print\/","author":259,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.58.2","stable_tag":"2.58.2","tested":"6.3.8","requires":"4.0","requires_php":"","requires_plugins":null,"header_name":"WP-Print","header_author":"Lester 'GaMerZ' Chan","header_description":"","assets_banners_color":"e9eaec","last_updated":"2023-08-09 03:06:00","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/lesterchan.net\/site\/donation\/","header_plugin_uri":"http:\/\/lesterchan.net\/portfolio\/programming\/php\/","header_author_uri":"http:\/\/lesterchan.net","rating":4.2,"author_block_rating":0,"active_installs":9000,"downloads":712198,"num_ratings":41,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.00":{"tag":"1.00","author":"GamerZ","date":"2007-03-17 07:23:48"},"2.00":{"tag":"2.00","author":"GamerZ","date":"2007-04-13 10:20:38"},"2.01":{"tag":"2.01","author":"GamerZ","date":"2007-03-17 07:23:48"},"2.02":{"tag":"2.02","author":"GamerZ","date":"2007-03-17 07:23:48"},"2.03":{"tag":"2.03","author":"GamerZ","date":"2007-03-17 07:23:48"},"2.04":{"tag":"2.04","author":"GamerZ","date":"2007-03-17 07:23:48"},"2.05":{"tag":"2.05","author":"GamerZ","date":"2007-03-17 07:23:48"},"2.06":{"tag":"2.06","author":"GamerZ","date":"2007-03-17 07:23:48"},"2.10":{"tag":"2.10","author":"GamerZ","date":"2007-03-21 07:43:07"},"2.11":{"tag":"2.11","author":"GamerZ","date":"2007-06-15 17:31:55"},"2.20":{"tag":"2.20","author":"GamerZ","date":"2007-09-30 08:17:55"},"2.30":{"tag":"2.30","author":"GamerZ","date":"2008-06-10 07:40:17"},"2.31":{"tag":"2.31","author":"GamerZ","date":"2008-07-15 14:45:50"},"2.40":{"tag":"2.40","author":"GamerZ","date":"2009-02-07 13:57:24"},"2.50":{"tag":"2.50","author":"aaroncampbell","date":"2010-02-11 23:02:47"},"2.52":{"tag":"2.52","author":"GamerZ","date":"2014-03-13 03:07:30"},"2.53":{"tag":"2.53","author":"GamerZ","date":"2014-04-17 01:12:09"},"2.54":{"tag":"2.54","author":"GamerZ","date":"2014-09-05 02:43:50"},"2.55":{"tag":"2.55","author":"GamerZ","date":"2014-12-23 04:26:50"},"2.56":{"tag":"2.56","author":"GamerZ","date":"2015-08-08 13:07:03"},"2.57":{"tag":"2.57","author":"GamerZ","date":"2015-11-19 03:31:24"},"2.57.1":{"tag":"2.57.1","author":"GamerZ","date":"2015-12-10 02:13:46"},"2.57.2":{"tag":"2.57.2","author":"GamerZ","date":"2016-04-14 05:53:07"},"2.58":{"tag":"2.58","author":"GamerZ","date":"2018-12-19 06:12:59"},"2.58.1":{"tag":"2.58.1","author":"GamerZ","date":"2020-05-20 01:47:15"},"2.58.2":{"tag":"2.58.2","author":"GamerZ","date":"2023-08-09 03:06:00"}},"upgrade_notice":[],"ratings":{"1":6,"2":1,"3":1,"4":4,"5":31},"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":978022,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":1206764,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1206764,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["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","2.58","2.58.1","2.58.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1206764,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1206764,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":1206764,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Admin Print Options","2":"Print Post Link","3":"Print Page"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3153,893,9825],"plugin_category":[],"plugin_contributors":[77620],"plugin_business_model":[],"class_list":["post-676","plugin","type-plugin","status-publish","hentry","plugin_tags-print","plugin_tags-printer","plugin_tags-wp-print","plugin_contributors-gamerz","plugin_committers-gamerz"],"banners":{"banner":"https:\/\/ps.w.org\/wp-print\/assets\/banner-772x250.jpg?rev=1206764","banner_2x":"https:\/\/ps.w.org\/wp-print\/assets\/banner-1544x500.jpg?rev=1206764","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/wp-print\/assets\/icon.svg?rev=978022","icon":"https:\/\/ps.w.org\/wp-print\/assets\/icon.svg?rev=978022","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-print\/assets\/screenshot-1.png?rev=1206764","caption":"Admin Print Options"},{"src":"https:\/\/ps.w.org\/wp-print\/assets\/screenshot-2.png?rev=1206764","caption":"Print Post Link"},{"src":"https:\/\/ps.w.org\/wp-print\/assets\/screenshot-3.png?rev=1206764","caption":"Print Page"}],"raw_content":"<!--section=description-->\n<p>Once installed take the following steps to set it up:<\/p>\n\n<ol>\n<li>WP-Print settings page is located in WP-Admin -&gt; Settings -&gt; Print<\/li>\n<li>You Need To Re-Generate The Permalink (WP-Admin -&gt; Settings -&gt; Permalinks -&gt; Save Changes)<\/li>\n<li>Refer To Usage For Further Instructions<\/li>\n<\/ol>\n\n<h3>Usage<\/h3>\n\n<ol>\n<li>Open <code>wp-content\/themes\/&lt;YOUR THEME NAME&gt;\/index.php<\/code>. You should place it in single.php, post.php, page.php, etc also if they exist.<\/li>\n<li>Find: <code>&lt;?php while (have_posts()) : the_post(); ?&gt;<\/code><\/li>\n<li>Add Anywhere Below It: <code>&lt;?php if(function_exists('wp_print')) { print_link(); } ?&gt;<\/code><\/li>\n<\/ol>\n\n<ul>\n<li>The first value is the text for printing post.<\/li>\n<li>The second value is the text for printing page.<\/li>\n<li>Default: print_link('', '')<\/li>\n<li>Alternatively, you can set the text in 'WP-Admin -&gt; Settings -&gt; Print'.<\/li>\n<li>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.<\/li>\n<\/ul>\n\n<h3>Build Status<\/h3>\n\n<p><a href=\"https:\/\/travis-ci.org\/lesterchan\/wp-print\"><\/a><\/p>\n\n<h3>Development<\/h3>\n\n<p><a href=\"https:\/\/github.com\/lesterchan\/wp-print\" title=\"https:\/\/github.com\/lesterchan\/wp-print\">https:\/\/github.com\/lesterchan\/wp-print<\/a><\/p>\n\n<h3>Translations<\/h3>\n\n<p><a href=\"http:\/\/dev.wp-plugins.org\/browser\/wp-print\/i18n\/\" title=\"http:\/\/dev.wp-plugins.org\/browser\/wp-print\/i18n\/\">http:\/\/dev.wp-plugins.org\/browser\/wp-print\/i18n\/<\/a><\/p>\n\n<h3>Credits<\/h3>\n\n<ul>\n<li>Plugin icon by <a href=\"http:\/\/www.simpleicon.com\">SimpleIcon<\/a> from <a href=\"http:\/\/www.flaticon.com\">Flaticon<\/a><\/li>\n<li>Icons courtesy of <a href=\"http:\/\/www.famfamfam.com\/\">FamFamFam<\/a><\/li>\n<\/ul>\n\n<h3>Donations<\/h3>\n\n<p>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.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20add%20this%20to%20my%20theme%3F'><h3>How do I add this to my theme?<\/h3><\/dt>\n<dd><ol>\n<li>Open <code>wp-content\/themes\/&lt;YOUR THEME NAME&gt;\/index.php<\/code>\n  You may place it in single.php, post.php, page.php, etc also.<\/li>\n<li>Find: <code>&lt;?php while (have_posts()) : the_post(); ?&gt;<\/code><\/li>\n<li>Add Anywhere Below It: <code>&lt;?php if(function_exists('wp_print')) { print_link(); } ?&gt;<\/code><\/li>\n<\/ol>\n\n<p>Simply add this code inside the loop ### where you want the print link to display:<\/p>\n\n<pre><code>if(function_exists('wp_print')) {\n    print_link();\n}\n<\/code><\/pre><\/dd>\n<dt id='if%20you%20do%20not%20want%20to%20print%20a%20portion%20of%20your%20post%27s%20content'><h3>If you do not want to print a portion of your post's content<\/h3><\/dt>\n<dd><p>[donotprint]Text within this tag will not be displayed when printing[\/donotprint]<\/p>\n\n<ul>\n<li>The text within [donotprint][\/donotprint] will not be displayed when you are viewing a printer friendly version of a post or page.<\/li>\n<li>However, it will still be displayed as normal on a normal post or page view.<\/li>\n<li>Do note that if you are using WP-Email, any text within [donotprint][\/donotprint] will not be emailed as well.<\/li>\n<\/ul><\/dd>\n<dt id='custom%20template'><h3>Custom Template<\/h3><\/dt>\n<dd><ul>\n<li>WP-Print will load 'print-css.css', 'print-posts.php' and 'print-comments.php' from your theme's directory if it exists.<\/li>\n<li>If it doesn't exists, it will just load the respective default file that comes with WP-Print.<\/li>\n<li>This will allow you to upgrade WP-Print without worrying about overwriting your printing styles or templates that you have created.<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h3>2.58.1<\/h3>\n\n<ul>\n<li>FIXED: Strip iframe tags as well.<\/li>\n<\/ul>\n\n<h3>2.58<\/h3>\n\n<ul>\n<li>NEW: Ability to print thumbnail. Props @MatthieuMota.<\/li>\n<\/ul>\n\n<h3>2.57.2<\/h3>\n\n<ul>\n<li>FIXED: Check both parent and child theme<\/li>\n<\/ul>\n\n<h3>2.57.1<\/h3>\n\n<ul>\n<li>NEW: Use translate.wordpress.org to translate the plugin<\/li>\n<li>FIXED: Unable to update options<\/li>\n<\/ul>\n\n<h3>2.57<\/h3>\n\n<ul>\n<li>FIXED: Notices<\/li>\n<\/ul>\n\n<h3>2.56<\/h3>\n\n<ul>\n<li>NEW: Updated print HTML code. Props @Luanramos<\/li>\n<\/ul>\n\n<h3>2.55<\/h3>\n\n<ul>\n<li>NEW: Bump to 4.1<\/li>\n<li>FIXED: get_the_category_list() optional secondary argument<\/li>\n<li>FIXED: Replace font with p<\/li>\n<\/ul>\n\n<h3>2.54<\/h3>\n\n<ul>\n<li>NEW: Finally there is custom post type support. Props <a href=\"http:\/\/andrewnimmo.org\/\" title=\"nimmolo\">nimmolo<\/a>.<\/li>\n<li>NEW: Allow Multisite Network Activate<\/li>\n<li>NEW: Uses WordPress uninstall.php file to uninstall the plugin<\/li>\n<\/ul>\n\n<h3>2.53<\/h3>\n\n<ul>\n<li>FIXED: Use get_stylesheet_directory() instead of TEMPLATEPATH<\/li>\n<\/ul>\n\n<h3>2.52<\/h3>\n\n<ul>\n<li>FIXED: Added nonce to Options. Credits to Charlie Eriksen via Secunia SVCRP.<\/li>\n<\/ul>\n\n<h3>2.51<\/h3>\n\n<ul>\n<li>NEW: Support for links that start with \"\/\/\"<\/li>\n<li>FIXED: Unable to load WP-Print on Password Protected posts<\/li>\n<\/ul>\n\n<h3>2.50<\/h3>\n\n<ul>\n<li>NEW: Uses jQuery Framework<\/li>\n<li>NEW: [donotprint][\/donotprint] ShortCode Will Not Be Displayed As Well When Using WP-Email (Refer To Usage Tab)<\/li>\n<li>NEW: Use _n() Instead Of __ngettext() And _n_noop() Instead Of __ngettext_noop()<\/li>\n<li>FIXED: Uses $_SERVER['PHP_SELF'] With plugin_basename(<strong>FILE<\/strong>) Instead Of Just $_SERVER['REQUEST_URI']<\/li>\n<li>FIXED: Nested ShortCode Issues<\/li>\n<\/ul>","raw_excerpt":"Displays a printable version of your WordPress blog&#039;s post\/page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=676"}],"author":[{"embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gamerz"}],"wp:attachment":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=676"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=676"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=676"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=676"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=676"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}