Version Description
- The Print Button was showing up on printed, or PDF, pages. Junk! Print or PDF button no longer displayed on printed out page or PDF.
Download this release
Release Info
Developer | printfriendly |
Plugin | Print, PDF, Email by PrintFriendly |
Version | 2.1.8 |
Comparing to | |
See all releases |
Code changes from version 2.1.7 to 2.1.8
- pf.php +4 -3
- readme.txt +5 -1
pf.php
CHANGED
@@ -5,11 +5,12 @@
|
|
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. [<a href="options-general.php?page=printfriendly/pf.php">Settings</a>]
|
7 |
Developed by <a href="http://printfriendly.com" target="_blank">PrintFriendly</a>
|
8 |
-
Version: 2.1.
|
9 |
Author: Print Friendly
|
10 |
Author URI: http://www.PrintFriendly.com
|
11 |
|
12 |
Changelog :
|
|
|
13 |
2.1.7 - Changed button from span to div to support floating.
|
14 |
2.1.6 - Added rel="nofollow" to links. Changed button from <a> to <span> to fix target_new or target_blank issues.
|
15 |
2.1.5 - Fix conflict with link tracking plugins. Custom image support for hosted wordpress sites.
|
@@ -218,9 +219,9 @@ function pf_show_link($content=false)
|
|
218 |
$style.=' margin: '.pf_margin_down('top').'px '.pf_margin_down('right').'px '.pf_margin_down('bottom').'px '.pf_margin_down('left').'px;';
|
219 |
|
220 |
|
221 |
-
$button = '<script src="http://cdn.printfriendly.com/printfriendly.js" type="text/javascript"></script><div onclick="window.print(); return false;" style="'.$style.' text-decoration: none; outline: none; color: '.get_option('pf_text_color').'; cursor:pointer;">'.pf_button().'</div>';
|
222 |
|
223 |
-
$button_link = '<div style="'.$style.'"><a href="'.$plink_url.$separator.'" rel="nofollow" style="text-decoration: none; outline: none; color: '.get_option('pf_text_color').';">'.pf_button().'</a></div>';
|
224 |
|
225 |
//This goes on article pages
|
226 |
if((is_single() || is_page()) && $pf_display=='single' || (is_single() && $pf_display=='posts'))
|
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. [<a href="options-general.php?page=printfriendly/pf.php">Settings</a>]
|
7 |
Developed by <a href="http://printfriendly.com" target="_blank">PrintFriendly</a>
|
8 |
+
Version: 2.1.8
|
9 |
Author: Print Friendly
|
10 |
Author URI: http://www.PrintFriendly.com
|
11 |
|
12 |
Changelog :
|
13 |
+
2.1.8 - The Print Button was showing up on printed, or PDF, pages. Junk! Print or PDF button no longer displayed on printed out page or PDF.
|
14 |
2.1.7 - Changed button from span to div to support floating.
|
15 |
2.1.6 - Added rel="nofollow" to links. Changed button from <a> to <span> to fix target_new or target_blank issues.
|
16 |
2.1.5 - Fix conflict with link tracking plugins. Custom image support for hosted wordpress sites.
|
219 |
$style.=' margin: '.pf_margin_down('top').'px '.pf_margin_down('right').'px '.pf_margin_down('bottom').'px '.pf_margin_down('left').'px;';
|
220 |
|
221 |
|
222 |
+
$button = '<script src="http://cdn.printfriendly.com/printfriendly.js" type="text/javascript"></script><div onclick="window.print(); return false;" style="'.$style.' text-decoration: none; outline: none; color: '.get_option('pf_text_color').'; cursor:pointer;" class="printfriendly">'.pf_button().'</div>';
|
223 |
|
224 |
+
$button_link = '<div style="'.$style.'" class="printfriendly"><a href="'.$plink_url.$separator.'" rel="nofollow" style="text-decoration: none; outline: none; color: '.get_option('pf_text_color').';">'.pf_button().'</a></div>';
|
225 |
|
226 |
//This goes on article pages
|
227 |
if((is_single() || is_page()) && $pf_display=='single' || (is_single() && $pf_display=='posts'))
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Print Friendly
|
|
3 |
Tags: print, pdf, printer, printing, printable, widget, plugin
|
4 |
Requires at least: 1.5
|
5 |
Tested up to: 3.1.3
|
6 |
-
Stable tag: 2.1.
|
7 |
|
8 |
#1 Print and PDF button for your wp site. Printer Friendly pages without coding, css, or print.css. Fast, easy, and professional.
|
9 |
|
@@ -55,6 +55,10 @@ If you have any issues with the plugin or the PrintFriendly widget, please write
|
|
55 |
|
56 |
== Changelog ==
|
57 |
|
|
|
|
|
|
|
|
|
58 |
= 2.1.7 =
|
59 |
* Changed print button from <span> to <div> to support floating the print and PDF button to right.
|
60 |
|
3 |
Tags: print, pdf, printer, printing, printable, widget, plugin
|
4 |
Requires at least: 1.5
|
5 |
Tested up to: 3.1.3
|
6 |
+
Stable tag: 2.1.8
|
7 |
|
8 |
#1 Print and PDF button for your wp site. Printer Friendly pages without coding, css, or print.css. Fast, easy, and professional.
|
9 |
|
55 |
|
56 |
== Changelog ==
|
57 |
|
58 |
+
= 2.1.8 =
|
59 |
+
* The Print Button was showing up on printed, or PDF, pages. Junk! Print or PDF button no longer displayed on printed out page or PDF.
|
60 |
+
|
61 |
+
|
62 |
= 2.1.7 =
|
63 |
* Changed print button from <span> to <div> to support floating the print and PDF button to right.
|
64 |
|