Version Description
- Adding PrintFriendly and PDF alignment style classes.
Download this release
Release Info
Developer | printfriendly |
Plugin | Print, PDF, Email by PrintFriendly |
Version | 3.1.6 |
Comparing to | |
See all releases |
Code changes from version 3.1.5 to 3.1.6
- pf.php +16 -3
- 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 button for your website. Optimizes your pages and brand for print, pdf, and email.
|
6 |
Name and URL are included to ensure repeat visitors and new visitors when printed versions are shared.
|
7 |
-
Version: 3.1.
|
8 |
Author: Print Friendly
|
9 |
Author URI: http://www.PrintFriendly.com
|
10 |
|
11 |
Changelog :
|
|
|
12 |
3.1.5 - Set button appearance in more flexible way. Remove styles that interfered with wordpress themes. Add shortcode for printfriendly button. Fix redirect to printfriendly.com link. Added custom css feature.
|
13 |
3.1.4 - Changed https url. Don't hide text change box when disabling css.
|
14 |
3.1.3 - Fixed bug with disable css option
|
@@ -175,7 +176,19 @@ if ( ! class_exists( 'PrintFriendly_WordPress' ) ) {
|
|
175 |
}
|
176 |
.printfriendly a span{
|
177 |
vertical-align: bottom;
|
178 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
</style>
|
180 |
<style type="text/css" media="print">
|
181 |
.printfriendly {
|
@@ -250,7 +263,7 @@ if ( ! class_exists( 'PrintFriendly_WordPress' ) ) {
|
|
250 |
|
251 |
$align = '';
|
252 |
if ( 'none' != $this->options['content_position'] )
|
253 |
-
$align = ' align'.$this->options['content_position'];
|
254 |
|
255 |
$button = apply_filters( 'printfriendly_button', '<div class="printfriendly'.$align.'"><a href="'.$href.'" rel="nofollow" '.$onclick.'>'.$this->button().'</a></div>' );
|
256 |
|
4 |
Plugin URI: http://www.printfriendly.com
|
5 |
Description: PrintFriendly & PDF button for your website. Optimizes your pages and brand for print, pdf, and email.
|
6 |
Name and URL are included to ensure repeat visitors and new visitors when printed versions are shared.
|
7 |
+
Version: 3.1.6
|
8 |
Author: Print Friendly
|
9 |
Author URI: http://www.PrintFriendly.com
|
10 |
|
11 |
Changelog :
|
12 |
+
3.1.6 - Adding PrintFriendly and PDF alignment style classes.
|
13 |
3.1.5 - Set button appearance in more flexible way. Remove styles that interfered with wordpress themes. Add shortcode for printfriendly button. Fix redirect to printfriendly.com link. Added custom css feature.
|
14 |
3.1.4 - Changed https url. Don't hide text change box when disabling css.
|
15 |
3.1.3 - Fixed bug with disable css option
|
176 |
}
|
177 |
.printfriendly a span{
|
178 |
vertical-align: bottom;
|
179 |
+
}
|
180 |
+
.pf-alignleft {
|
181 |
+
float: left;
|
182 |
+
}
|
183 |
+
.pf-alignright {
|
184 |
+
float: right;
|
185 |
+
}
|
186 |
+
div.pf-aligncenter {
|
187 |
+
display: block;
|
188 |
+
margin-left: auto;
|
189 |
+
margin-right: auto;
|
190 |
+
text-align: center;
|
191 |
+
}
|
192 |
</style>
|
193 |
<style type="text/css" media="print">
|
194 |
.printfriendly {
|
263 |
|
264 |
$align = '';
|
265 |
if ( 'none' != $this->options['content_position'] )
|
266 |
+
$align = ' pf-align'.$this->options['content_position'];
|
267 |
|
268 |
$button = apply_filters( 'printfriendly_button', '<div class="printfriendly'.$align.'"><a href="'.$href.'" rel="nofollow" '.$onclick.'>'.$this->button().'</a></div>' );
|
269 |
|
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.5
|
6 |
-
Stable tag: 3.1.
|
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 |
|
@@ -98,6 +98,10 @@ If you have any other issues with the plugin or the PrintFriendly widget, please
|
|
98 |
|
99 |
== Changelog ==
|
100 |
|
|
|
|
|
|
|
|
|
101 |
= 3.1.5 =
|
102 |
|
103 |
* Set button appearance in more flexible way. Remove styles that interfered with wordpress themes. Add shortcode for printfriendly button. Fix redirect to printfriendly.com link. Added custom css feature.
|
3 |
Tags: print, pdf, printer, printing, printable, widget, plugin
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 3.5
|
6 |
+
Stable tag: 3.1.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 |
|
98 |
|
99 |
== Changelog ==
|
100 |
|
101 |
+
= 3.1.6 =
|
102 |
+
|
103 |
+
* Adding PrintFriendly and PDF alignment style classes.
|
104 |
+
|
105 |
= 3.1.5 =
|
106 |
|
107 |
* Set button appearance in more flexible way. Remove styles that interfered with wordpress themes. Add shortcode for printfriendly button. Fix redirect to printfriendly.com link. Added custom css feature.
|