Version Description
- Fix bug that displays button on category pages when posts and pages is selected.
Download this release
Release Info
Developer | printfriendly |
Plugin | Print, PDF, Email by PrintFriendly |
Version | 3.0.6 |
Comparing to | |
See all releases |
Code changes from version 3.0.5 to 3.0.6
- pf.php +3 -2
- readme.txt +6 -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.
|
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.
|
@@ -243,7 +244,7 @@ if ( ! class_exists( 'PrintFriendly_WordPress' ) ) {
|
|
243 |
|
244 |
else
|
245 |
{
|
246 |
-
if (is_single() || ( is_page() && 'posts' != $this->options['show_list'] ) || (
|
247 |
{
|
248 |
|
249 |
if ( $this->options['content_placement'] == 'before' )
|
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.6
|
8 |
Author: Print Friendly
|
9 |
Author URI: http://www.PrintFriendly.com
|
10 |
|
11 |
Changelog :
|
12 |
+
3.0.6 - Fix bug that would display button on category pages when not wanted.
|
13 |
3.0.5 - Include button on category pages if user has selected "All pages".
|
14 |
3.0.4 - Align-right and align-center support for themes that remove WordPress core css.
|
15 |
3.0.3 - Support for bad themes that alter template tags and prevent JavaScript from loading in footer.
|
244 |
|
245 |
else
|
246 |
{
|
247 |
+
if (is_single() || ( is_page() && 'posts' != $this->options['show_list'] ) || ((is_home() || is_category()) && 'all' == $this->options['show_list'] ))
|
248 |
{
|
249 |
|
250 |
if ( $this->options['content_placement'] == 'before' )
|
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.
|
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,11 @@ 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.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).
|
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.6
|
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 |
+
|
67 |
+
= 3.0.6 =
|
68 |
+
|
69 |
+
* Fix bug that displays button on category pages when posts and pages is selected.
|
70 |
+
|
71 |
= 3.0.5 =
|
72 |
|
73 |
* 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).
|