=== Print, PDF & Email by PrintFriendly ===
Contributors: printfriendly, joostdevalk, jrf, rozroz
Tags: print, pdf, email, print button, pdf button
Requires at least: 4.9
Tested up to: 7.1
Stable tag: 5.5.14
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

The #1 Print, PDF, Email button. Stylish, full featured, customizable. Add custom header, footer, and more.

== Description ==

**Features**

PrintFriendly is used by millions of people everyday to help them save paper and ink when they print and generate PDFs (Good for the environment and peoples wallet!).

* Print, PDF, and email.
* Stylish, highly polished, intuitive UI/UX that end-users love.
* Editable Preview - change text/image size, and delete to save even more paper and ink.
* PDF - clickable links and custom paper sizes (A4 or Letter).
* Reliable & Fast - Since 2009 we've optimized and improved.
* [Compatible](https://support.printfriendly.com/wordpress/social-share-compatibility/) with **social share plugins** like Social Snap, Hubbub (formerly Social Pug), NovaShare, Shareaholic

**Benefits For Publishers**

* Automatically detects page content so you don't have to create print.css.
* Professional: highly polished, stable, and supported.
* Works on HTTP, HTTPS, and password protected sites.
* Customization features (see below)
* Full featured and free forever, supported by ads on printfriendly.com. Optional [Print Button Pro](https://www.printfriendly.com/button) keeps readers on your site with no ads.


**Customization**

* Print, PDF, Email, options can be on or off.
* Custom headers and footers for the print and PDF.
* Button styles to choose, or use your own text and image/button.
* [Include a copyright](https://support.printfriendly.com/wordpress/customize-content-selection/#copyright) on print and PDF.
* [Use your own CSS](https://support.printfriendly.com/wordpress/custom-css/) for complete creative control or the print or PDF page.
* Use the JavaScript or non-JavaScript option.


= Free: readers finish on printfriendly.com =

> The plugin is free to use and fully functional, and we maintain, improve, and support it for everyone. <br>
> On the free plan, a reader who clicks your button finishes on printfriendly.com, where we show ads. That is how the free plan is paid for. <br>
> No ads are ever added to your own pages.


= Print Button Pro: readers stay on your site =

> With Print Button Pro, the print and PDF preview opens on your own page, with no ads, so readers never leave your site. <br>
> $8.25 a month, billed yearly at $99. <br>
> Start a 30-day free trial from Settings > Print Friendly & PDF in your WordPress admin: card required, nothing charged today, cancel anytime.

**Localized in 30 Languages**

PrintFriendly & PDF speaks your language! It detects (based on browser setting) the end-users language and automatically changes language. For example, if your browser is set to Spanish, then PrintFriendly will use Spanish.

A few of our supported languages:

* Danish
* German
* English
* Spanish
* Estonian
* French
* Hebrew
* Croatian
* Hungarian
* Italian
* Korean
* Lithuanian
* Dutch/Netherlands
* Polish
* Portuguese
* Slovak
* Slovenian
* Serbian
* Swedish
* Thailand
* Turkish
* Chinese Simplified
* Chinese Traditional

PrintFriendly and PDF is the #1 print optimization technology, **as featured in [Lifehacker](http://lifehacker.com/5272212/print-friendly-optimizes-web-pages-for-printing "PrintFriendly & PDF in Lifehacker"), [Mashable](http://mashable.com/2009/05/18/print-friendly/ "PrintFriendly & PDF in Mashable") & [makeuseof](http://www.makeuseof.com/dir/printfriendly-save-on-paper-and-ink/#comment-95052)**.

**Give PrintFriendly & PDF a test drive at [PrintFriendly.com](https://www.printfriendly.com "PrintFriendly & PDF")**

**GDPR (General Data Protection Regulation)**

PrintFriendly Pro is GDPR compliant. [Privacy Policy](https://www.printfriendly.com/privacy). We are working on making the free version GDPR compliant, but as of today it is not because of stringent cookie consent requirements. If you are an EU publisher, we recommend purchasing a [PrintFriendly Pro Subscription](https://www.printfriendly.com/button/pro) for your domain.

= Print, PDF, Email Privacy & Data =

PDFs are generated on our server; **this plugin “phones home”**.  Also if the end-user shares the page via email, the email is sent by our server.

Our Fundamental Principles:

* **We do not sell data.** Period.
* **We do not share data,** unless compelled by the law.
* **We do not ask for personal information,** unless it's needed to provide a service.
* **We don’t store personal information,**  unless required for the on-going operation of service.

Specifically, here’s what we do with the data and information:

**Page content is not sent or stored on server,** except to generate the PDF. After the PDF is generated, we temporarily store the PDF to allow the end-user time to download. After this time has expired, the PDF is permanently deleted.

If you’re using the non-JavaScript option in the plugin, then the preview is generated on our server and temporarily stored in cache for a few minutes. After that time it is permanently deleted.

**Email Address & Content get permanently deleted** In order to send the email, we need to store the email address and message on our server. After the email has been sent and found not to be a spammer, the email address is permanently deleted.

**Server log files get created and deleted.** Browsers and Servers pass non-personally-identifying information, such as the browser type, language, referrer, and the date/time. We may use this data to analyze how the service is being used. Non-personally-identifying aggregate data may get published, e.g., by a report on trends in the usage of the service.

**Connecting your site to Print Button Pro.** Your WordPress admin sends nothing to PrintFriendly until you click to start a trial or connect your site. That click sends your site's address and the admin email address to printfriendly.com so we can set up your account; you can change either before you sign up. Once connected, the plugin checks your plan with printfriendly.com when you open its settings page, at most once every 12 hours.

== Installation ==

1. Search for PrintFriendly in your WordPress backend and click install, or download the printfriendly.zip file and unzip it.
2. If you downloaded the zip, upload the printfriendly folder into wp-content/plugins folder
3. Activate the plugin in your WordPress Admin area.
4. Select "Settings" to customize button style and placement.

== Frequently Asked Questions ==
= Print Friendly & PDF Official Support=
[How to articles and support](https://support.printfriendly.com) for Print, PDF, and Email button by PrintFriendly

= Content Not Showing =
Use [PrintFriendly & PDF custom class names](https://support.printfriendly.com/wordpress/customize-content-selection/) to include/exclude content.

= How to add custom header to Print and PDF =
Use the option in the Plugin settings. [See how](https://support.printfriendly.com/wordpress/custom-header-footer/#using-plugin-settings)

= What is the difference between free and Print Button Pro? =
On the free plan, readers who click your button finish on printfriendly.com, where we show ads. With Print Button Pro, the preview opens on your own page with no ads, so readers stay on your site. Start the 30-day free trial from Settings > Print Friendly & PDF.

= I already pay for PrintFriendly. Do I need to do anything? =
Open Settings > Print Friendly & PDF, click the button on the Pro card, and sign in with the account that pays for your domain. The plugin connects to the plan you already have, and you are not charged again.



== Screenshots ==

1. Lightbox design keeps users on your page.
2. More sharing tools, Print, PDF, Email. Plus editing tools!
3. Fully customizable: Choose your print button, text link, or use your own text or graphic.
4. Print Friendly & PDF speaks your language! Localized in over 30 languages.


== Changelog ==

= 5.5.14 =
* New: until a site is connected to Print Button Pro, admins see an Upgrade link next to Settings on the Plugins screen.
* New: a one-time notice on the Dashboard and Plugins screens offers the 30 day free trial. On a new install it waits a week, and each admin can dismiss it for good.
* Docs: the readme explains what changes for your readers with Print Button Pro.

= 5.5.13 =
* New: the settings screen now shows your Print Button Pro plan, and you can start a 30 day free trial without leaving WordPress.
* Fix: the bundled select2 library is versioned with the plugin, so updates are no longer held behind browser caches.

= 5.5.12 =
* Tested against WordPress 7.1

= 5.5.11 =
* Security fix: prevent stored XSS via the Content Position CSS (button alignment) option (CVE-2026-9738).
* Hardening: consistently escape option output across the settings screens.

= 5.5.10 =
* Tested against 7.0

= 5.5.9 =
* Security fix: prevent stored XSS via Custom CSS option.

= 5.5.8 =
* Maintenance release.

= 5.5.7 =
* Added GPL license to plugin header and readme.

= 5.5.6 =
* Bugfixes

= 5.5.5 =
* Tested against 6.6

= 5.5.2 =
* Fixed custom button input

= 5.5.1 =
* Tested against 6.3
* Updated images

= 5.5.0 =
* Fix Undefined array key error
* Internal refactoring for eliminating errors of this kind

= 5.4.0 =
* Fix restricting of button to categories when more than one category is selected

= 5.3.0 =
* Support custom CSS via inline tag enabling localhost/internal server support


= 5.2.5 =
* Use defer instead of async while loading script for reliable parsing of options

= 5.2.4 =
* Fix documentation links

= 5.2.3 =
* Escape HTML for custom text if users do not have capability
* Tested against 6.0

= 5.2.2 =
* Better detection of Google Analytics

= 5.2.1 =
* Fix: Allow HTML in button custom text

= 5.2.0 =
* Fix PHP Notice

= 5.1 =
* In category pages, the default behaviour of button added by shortcode/template is to link to a printable version of the individual posts. Sometimes, it is desirable to print the category page itself and not the individual posts. Added new template function/shortcode to always print the current page to use in this scenario.
* Add support for newer google analytics versions and google tag manager

= 5.0 =
* Add support for custom CSS selectors
* Improve the settings UI

= 4.2 =
* Fix: jQuery.fn.load() is deprecated
* Fix: Specific categories do not accept more than one entry
* Tested against WP 5.8

= 4.1 =
* Bugfixes
* Tested against WP 5.7

= 4.0.1 =
* Bugfixes

= 4.0.0 =
* An easier and intuitive settings screen
* Use custom CSS directly without the hassle of uploading files
* Pickup email and domain automatically
* Added option to show button only for select categories
* Update translations
* Fix: Two buttons are shown when excerpt is used
* Fix: The custom CSS was included in the page erroneously

= 3.16.0 =
* Update deprecated jQuery to prevent deprecation log noitice.

= 3.15.0 =
* CSS Bug fix for center align of PrintFriendly Button

= 3.14.9 =
* Bug fix for PrintFriendly button alignment.

= 3.14.8 =
* Fix error from deprecated contextual help. Change printfriendly button CSS styles from internal (head)  to inline (link). This ensures all styles are removed when button is not present.

= 3.14.7 =
* Remove unnecessary closing style tag. Add outline:none to printfriendly button link to remove outline on click.

= 3.14.6 =
* Improvements to CSS and how we load JS. Moved button CSS from page head to a separate stylesheet. Load JS using async attribute (now that all major browsers support async attribute, we need not insert JS dynamically)

= 3.14.5 =
* New Feature: Password protected image option. Select this option if your images are password protected so they can be included in PDFs.

= 3.14.4 =
* Make save options work without Pro field(email, domain) validation check.

= 3.14.3 =
* Plugin copy and style changes. No functionality changes.

= 3.14.2 =
* GDPR Compliant notification for PrintFriendly Pro and links to Privacy Policy.

= 3.14.1 =
* Fix client side pro domain validation.

= 3.14.0 =
* Integrate instant free Pro Trial, and Pro status.

= Earlier versions =

For the changelog of earlier versions, please refer to the separate changelog.txt file.
