Print, PDF, Email by PrintFriendly - Version 3.0.5

Version Description

  • PrintFriendly & PDF button will now display on category pages (archive pages), if "Homepage, Archives, Posts, and Pages" was selected in the Settings for PrintFriendly & PDF (button placement).
Download this release

Release Info

Developer printfriendly
Plugin Icon 128x128 Print, PDF, Email by PrintFriendly
Version 3.0.5
Comparing to
See all releases

Code changes from version 3.0.4 to 3.0.5

Files changed (2) hide show
  1. pf.php +5 -4
  2. readme.txt +5 -1
pf.php CHANGED
@@ -4,11 +4,12 @@ Plugin Name: Print Friendly and PDF
4
  Plugin URI: http://www.printfriendly.com
5
  Description: PrintFriendly & PDF optimizes your pages for print. Help your readers save paper and ink, plus enjoy your content in printed form. Website
6
  Name and URL are included to ensure repeat visitors and new visitors when printed versions are shared.
7
- Version: 3.0.4
8
  Author: Print Friendly
9
  Author URI: http://www.PrintFriendly.com
10
 
11
  Changelog :
 
12
  3.0.4 - Align-right and align-center support for themes that remove WordPress core css.
13
  3.0.3 - Support for bad themes that alter template tags and prevent JavaScript from loading in footer.
14
  3.0.2 - Fixed JS bug with Google Chrome not submitting and fixed input validation issues.
@@ -242,7 +243,7 @@ if ( ! class_exists( 'PrintFriendly_WordPress' ) ) {
242
 
243
  else
244
  {
245
- if (is_single() || ( is_page() && 'posts' != $this->options['show_list'] ) || ( is_home() && 'all' == $this->options['show_list'] ))
246
  {
247
 
248
  if ( $this->options['content_placement'] == 'before' )
@@ -332,7 +333,7 @@ if ( ! class_exists( 'PrintFriendly_WordPress' ) ) {
332
  * @since 3.0
333
  */
334
  function add_config_page() {
335
- $this->settings_page = add_options_page( __( 'PrintFriendly Options', $this->hook ), __( 'PrintFriendly', $this->hook ), 'manage_options', $this->hook, array( &$this, 'config_page' ) );
336
  }
337
 
338
  /**
@@ -551,7 +552,7 @@ if ( ! class_exists( 'PrintFriendly_WordPress' ) ) {
551
  ?>
552
  <div id="pf_settings" class="wrap">
553
  <div class="icon32" id="printfriendly"></div>
554
- <h2><?php _e( 'PrintFriendly Settings', $this->hook ); ?></h2>
555
 
556
  <form action="options.php" method="post">
557
  <?php settings_fields( $this->option_name ); ?>
4
  Plugin URI: http://www.printfriendly.com
5
  Description: PrintFriendly & PDF optimizes your pages for print. Help your readers save paper and ink, plus enjoy your content in printed form. Website
6
  Name and URL are included to ensure repeat visitors and new visitors when printed versions are shared.
7
+ Version: 3.0.5
8
  Author: Print Friendly
9
  Author URI: http://www.PrintFriendly.com
10
 
11
  Changelog :
12
+ 3.0.5 - Include button on category pages if user has selected "All pages".
13
  3.0.4 - Align-right and align-center support for themes that remove WordPress core css.
14
  3.0.3 - Support for bad themes that alter template tags and prevent JavaScript from loading in footer.
15
  3.0.2 - Fixed JS bug with Google Chrome not submitting and fixed input validation issues.
243
 
244
  else
245
  {
246
+ if (is_single() || ( is_page() && 'posts' != $this->options['show_list'] ) || ( is_home() || is_category() && 'all' == $this->options['show_list'] ))
247
  {
248
 
249
  if ( $this->options['content_placement'] == 'before' )
333
  * @since 3.0
334
  */
335
  function add_config_page() {
336
+ $this->settings_page = add_options_page( __( 'PrintFriendly Options', $this->hook ), __( 'Print Friendly & PDF', $this->hook ), 'manage_options', $this->hook, array( &$this, 'config_page' ) );
337
  }
338
 
339
  /**
552
  ?>
553
  <div id="pf_settings" class="wrap">
554
  <div class="icon32" id="printfriendly"></div>
555
+ <h2><?php _e( 'Print Friendly & PDF Settings', $this->hook ); ?></h2>
556
 
557
  <form action="options.php" method="post">
558
  <?php settings_fields( $this->option_name ); ?>
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: printfriendly,joostdevalk
3
  Tags: print, pdf, printer, printing, printable, widget, plugin
4
  Requires at least: 2.8
5
  Tested up to: 3.2.1
6
- Stable tag: 3.0.4
7
 
8
  The #1 Print and PDF button for your WordPress site. Printer Friendly pages without coding, css, or print.css. Fast, easy, and professional.
9
 
@@ -63,6 +63,10 @@ If you have any other issues with the plugin or the PrintFriendly widget, please
63
  2. The Settings Page: choose your print button, text link, or use your own text or graphic.
64
 
65
  == Changelog ==
 
 
 
 
66
  = 3.0.4 =
67
 
68
  * Align-right and align-center support for themes that remove WordPress core css.
3
  Tags: print, pdf, printer, printing, printable, widget, plugin
4
  Requires at least: 2.8
5
  Tested up to: 3.2.1
6
+ Stable tag: 3.0.5
7
 
8
  The #1 Print and PDF button for your WordPress site. Printer Friendly pages without coding, css, or print.css. Fast, easy, and professional.
9
 
63
  2. The Settings Page: choose your print button, text link, or use your own text or graphic.
64
 
65
  == Changelog ==
66
+ = 3.0.5 =
67
+
68
+ * PrintFriendly & PDF button will now display on category pages (archive pages), if "Homepage, Archives, Posts, and Pages" was selected in the Settings for PrintFriendly & PDF (button placement).
69
+
70
  = 3.0.4 =
71
 
72
  * Align-right and align-center support for themes that remove WordPress core css.