A plugin to create PDF files of articles in your blog.
/wp-content/plugins/or use your WordPress plugin manager to download the plugin.
By default the PDF plugin is configured to display a small PDF box below each article. You can change that in the plugin settings in your WordPress admin area. The PDF plugin can display a box above or below each article, in the sidebar, on top or bottom of each page or you can place a PDF link everywhere in your blog. To enable or disable some of these boxes simply change the plugin settings.
If you want to use the PDF sidebar widget you have to enable the sidebar plugin. Then open the widget section in WordPress admin area and put the widget into the sidebar.
If you want to use the PDF top/bottom box, the link plugin or if you want to show a sidebar box without using the widget then you have to insert some peace of code into a template file where the box or the link shall appear.
Insert the following code into the theme file
footer.php or an other one, where the top/bottom PDF bar shall appear.
<?php pdf24Plugin_topBottom(); ?>
Insert the following code into any theme file, where you want to display a PDF link which creates a PDF file with one or more articles in you blog.
<?php pdf24Plugin_link(); ?>
Insert the following code into any theme file, where you want to display a PDF sidebar box by which users can create a PDF file with the articles on the currently displayed page.
<?php pdf24Plugin_sidebar(); ?>
If you use custom fields and if you want it to be part of the PDF file then you have to add some codes to your template files to mark the content so that the PDF24 plugin knows what the content is. This can be done like the following:
<?php pdf24Plugin_begin(); ?> <?php the_content(); ?> ... Your custom fields code ... <?php pdf24Plugin_end(); ?> <?php pdf24Plugin_post(); ?> OR <?php pdf24Plugin_form(ID); ?>
The above call to pdf24Plugin_post() can be replaced with pdf24Plugin_link() or pdf24Plugin_topBottom() or pdf24Plugin_sidebar(). Each of these methods shows a different box depending on what you want.
You can also replace the call to pdf24Plugin_post() with a call to pdf24Plugin_form(ID), which then outputs nothing visible to the user. The call to pdf24Plugin_form() just creates a hidden form which can than be sent by an other peace of code. The create form is hidden and you need a link or a button to submit the form and that functionality is provided with the pdf24Plugin_formSubmit(ID,TPL) method. The call to pdf24Plugin_formSubmit(ID,TPL) can be placed elsewhere in your template and prints a link which submits the form create by a call to pdf24Plugin_form(ID). This is a very flexible feature. The first argument, the ID, is a needed argument. If you create a hidden form by a call to pdf24Plugin_form(ID) then the form is identified by the ID. A call to pdf24Plugin_formSubmit(ID,TPL) with the same ID will submit the form identified by that ID. The ID argument can simply be the wordpress post identifier which you get by a call to get_the_ID(). The second parameter, the TPL, is a optinal argument. This argument controls the output (normal link, image link or whatever). The TPL argument is the name of a template of the plugin which is loaded and printed.
Don't forget to look at the FAQ section to get more information about custom fields support.
If you have any problems with the installation or the custom fields support feel free to contact us.
Requires: 1.5.0 or higher
Compatible up to: 4.2.5
Last Updated: 2015-7-31
Active Installs: 2,000+
Got something to say? Need help?