WP Print Friendly Plugin

özgür koca, ensei tankado, okocaözgür koca

WP Print Friendly 0.4.4, wordpress plugin, install WP Print Friendly, download WP Print Friendly, print, printable, printer, template

Extends WordPress’ template system to support printer-friendly templates for posts, pages, and custom post types. Uses WP standard template naming to support templates on a post-type basis. Supports printing paged posts on single page. Adds nice URLs for printer-friendly pages.

IMPORTANT: There are certain plugins that may interfere with this plugin’s functionality. See the FAQ for more information.

Download WP Print Friendly Plugin

LATEST VERSION

Extends WordPress’ template system to support printer-friendly templates for posts, pages, and…

Authors: ,

Tags: , , ,

Installation of WP Print Friendly

  1. Upload wp-print-friendly.php to /wp-content/plugins/.
  2. Activate plugin through the WordPress Plugins menu.
  3. Navigate to Options > Permalinks and click Save Changes to update navigation.

F.A.Q

Print links don’t work

First, navigate to Options > Permalinks in WP Admin, click Save Changes, and try again.

If clicking on a print link takes you back to the post or page where the link appeared, see the Known Plugin Conflicts item below.

If, after reviewing the remaining FAQ, you are still experiencing problems, visit and leave a comment detailing the problem.

How should I name print templates?

Print templates should be prefixed with wpf and follow WordPress template conventions from there. To use one template for all contexts unless otherwise specified, name your template wpf.php.

For both built-in and custom post types, wpf-[post type name].php will be used for that post type. To use a template for a single post type object, name your template wpf-[post type name]-[slug].php.

For custom taxonomies, follow the naming conventions for post types.

Similarly, wpf-home.php will load that template for the front page of your site.

The plugin also includes a default template that may suit many needs.

How do I add a print link to my templates?

The function wpf_the_print_link will add a link to the print-friendly version of whatever page it appears on. This function accepts the following arguments:

  • $page_link: Set to true to add a link to the current page in a paged post in addition a to a link for the entire post.
  • $link_text: Set to text that should appear for the print link. Defaults to Print this post.
  • $class: Specifies the CSS class for the print link. Defaults to print_link.
  • $page_link_separator: If $page_link is true, specifies what separator will appear between the print link for the entire post and the print link for the current page of the post.
  • $page_link_text: If $page_link is true, specifies what text will appear for the print link for the current page. Defaults to Print this page.
  • $link_target: If set to “new”, print links will open in a new window.

Known Plugin Conflicts

This plugin is known to conflict with certain plugins, many pertaining to SEO and permalinks. Conflicting plugins include, but are not limited to, the following:

  • WordPress SEO by Yoast: This plugin’s Permalink options, particularly Redirect attachment URL’s to parent post URL and Redirect ugly URL’s to clean permalinks. (Not recommended in many cases!), interfere with WP Print Friendly’s ability to display print templates. Both must be disabled, and the site’s rewrite rules regenerated (by visiting Options > Permalinks and clicking Save Changes), for WP Print Friendly to function.

Changelog

0.4.4

  • Full support for child themes.
  • Expand template choosing to fully support WordPress template hierarchy as described at .
  • Simplify rewrite rules creation.

0.4.3.3

  • Correct error that would display wrong page’s content when printing a single page of a paged post.
  • Correct error in link generation for page-specific print links.
  • Increase compatibility with View All Post’s Pages plugin.

0.4.3.2

  • Resolve PHP notice in options retrieval.
  • Add compatibility with View All Post’s Pages plugin (release forthcoming).

0.4.3.1

  • Fix bug in options retrieval that caused print links to be added to default post types if no post types were selected.
  • Resolve PHP notice when using default permalinks.

0.4.3

  • Fix bug in page number function.
  • Rewrite endnote link processing, including a refined regex pattern.
  • Introduce class property for print slug.
  • Correct minor bug in print link generation.
  • Add canonical link attribute and nofollow declaration to default template.

0.4.2.2

  • Correct generation of custom post type rewrite rules.

0.4.2.1

  • Version 0.4.2 omitted the default template.

0.4.2

  • Correct page rewrite rules to accomodate situations necessitating verbose rules, such as when the permalink structure starts with %postname%. Thanks to Wes Herzik at ikonic for discovering and reporting this issue.

0.4.1

  • Fix bug that displayed post links automatically on the wrong post types.

0.4

  • Child pages now fully supported.
  • Generates and registers rewrite rules more efficiently.
  • Rewrite setting for all post types and taxonomies are now considered when adding print support.
  • Add option to disable endnotes representing links found in content.
  • Move copyright and other static elements from content filters to default template.
  • Add function to display page numbers when printing single page of post.
  • Options page is now fully translation-ready.
  • Notices are translation-ready.
  • Correct various other bugs, including many related to non-standard permalink structures, custom post types, and custom taxonomies.

0.3.2

  • Add option to open print-friendly views in a new window.

0.3.1

  • Correct PHP error in is_print().

0.3

  • Initial version.

Tags: , , , , , , ,

3 comments

  1. What’s up, yes this post is actually nice and I have
    learned lot of things from it concerning blogging.
    thanks.

    my blog … long time

  2. Way cool! Some extremely valid points! I appreciate
    youu writing this article and also the rest of the
    websjte (Jerold) is also really good.

  3. Greetings! Very helpful advice within this post! It is the little changes that will make the most significant changes.
    Thanks for sharing!

    My blog post … how to write a romance novel ebook

Leave a comment