Since you are here, I assume you have already installed WP Post to PDF in your WordPress blog. If not, don’t worry, it’s not all over yet.
It’s pretty easy to install,
- Download it from http://wordpress.org/extend/plugins/wp-post-to-pdf/
- Upload ‘wp-post-to-pdf’ directory to ‘/wp-content/plugins/’ directory of WordPress
- Activate plugin through the ‘Plugins’ menu in WordPress
Simple, isn’t it. Now what’s left is configuration part and surprisingly it’s easy too :).
Once you activate the plugin, You can see ‘WP Post to PDF’ link in settings tab of WordPress admin area. Clicking that link will load configuration page as per following image.
WP Post to PDF options can be divided in three major groups. We will discuss all in brief one by one.
There are three options which fall in this category.
- Non Public Only: Check it if you want to allow only logged in users to download PDF file.
- Only on Single: Check it if you don’t want to display PDF icon on your front-page, this is the page where all your recent blog entries are listed.
- Exclude/Include: This option let you exclude/include certain pages/posts exclusively. Provide ID of page/post, separated by comma (,), and select whether you want to exclude/include those post/page. To use PDF download on all page/post, tick “Exclude Following” and leave textbox empty. If you don’t know how to find post/page ID, see this http://www.techtrot.com/wordpress-page-id/
There are two options which fall in this category.
- Icon Position: Select position where you want to display PDF icon.
Available options are
- Before: Display before the post content
- After: Display after the post content
- Before and After: Display before and after post content
- Manual: Plugin will not display Icon anywhere, You have to use following function within your template file to display icon where you want
<?php if (function_exists("wpptopdf_display_icon")) echo wpptopdf_display_icon();?>
- PDF Download Link: Provide HTML content you want to use as PDF download link. You can write any HTML content. To display pretty PDF icon as it was in earlier version, use the code provided just below the “PDF Download Link” Text field on plugin settings page.
PDF Formatting Options
There are eight options which fall in this category.
- Other Plugins: Check this if you want to accommodate changes applied by other plugins at runtime into PDF.
- Process Shortcodes: Check this if you want to process short codes and display its output in generated PDF file.
- Header Logo Image: When you activate plugin, It will place image named ‘wp-post-to-pdf-logo.png’ in ‘‘/wp-content/uploads’ directory. Replace it with your desired one.
- Header Font: Set font type you want to use in header text
- Header Font Size: Set font size for the header text
- Footer Font: Set font type you want to use in footer text
- Footer Font Size: Set font size for the footer text
- Content Font: Set font type you want to use in main content text
- Content Font Size: Set font size for the main content text
Beware that the Arial unicode font is not displayed correctly by all PDF viewers. Ubuntu’s default document viewer displays empty pages, but xpdf displays okay, except for some Cyrillic texts.
PDF icon you see in right corner of this post is the demonstration of this plugin.
Feel free to click on it and download this post as PDF.
Thanks Marcel for your valuable efforts on resolving some issues and SEO tips.