Plugin / PDF24 Article To PDF

Stefan Ziegler

Frequently Asked Questions (FAQ)

Locate to the section Settings->PDF24 Plugin in wordpress admin area Uncheck ‘Use this plugin’ in the section Article Plugin Save the settings
In my theme directory there is an file named index.php. A part of that file looks like this: After that code insert this small peace of code:
In my theme directory there is a file named index.php. A part of that file looks like this: < div id=”content” class=”narrowcolumn”> After that code insert this:
You can place the PDF link code into any theme file. Just open that file where the PDF link should appear and insert the code
Yes. Open the plugin settings and enable the WordPress widget plugin. Then open the widget manager and you will see the PDF24 plugin. Add the PDF24 widget to the sidebar or any other widget place.
Normally, the PDF24 plugin only uses the contents of the articles as content for the PDF file. Custom fields are extra information, that is normally not part of the content itself but can be used in templates to present extra information. To tell the PDF24 plugin what content shall be part of the PDF file, you have mark up the content area within WordPress theme files with special PDF24 plugin methods. To mark up the content, do this: ... Your custom fields code here... The above code tells PDF24 that the content is the articles content itself and the rest of the content between the two methods. You can place or output any other custom fields or information between the pdf24Plugin_begin and pdf24Plugin_end method. All that content between the two method is added to the PDF file. All PDF24 plugin PDF bars, links and boxes automatically uses this information to create the PDF file. Special care must be taken when you use the article bars which are automatically added to the content of each article. If you use the above markup code then the article bars will be removed from the content and you have to insert some extra code where the article bar shall appear. This extra code is: A sample code section of my test loop.php template file looks like this: This new code tells the PDF24 plugin what content is to add to the PDF file. This is the outputs of the codes which are placed inside the pdf24Plugin_begin and pdf24Plugin_end methods. The next line, the call to the method pdf24Plugin_post, outputs the article PDF bar which the user have to use to generate the PDF file. If you don’t call the pdf24Plugin_post method then the article bar will not be shown. You can omit this call when you use the PDF top/bottom bar, the PDF sidebar, the PDF widget or a PDF link. 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. Replacing pdf24Plugin_post() with pdf24Plugin_link() will output a Download as PDF link instead of the bigger article bar. The above code could also look like the following one: ... Your custom fields code here... OR You can place the pdf24Plugin_link() call wherever you want, except before the pdf24Plugin_end() call. The call to pdf24Plugin_form(get_the_ID()) must also be placed after the pdf24Plugin_end() call. This call only generates a hidden form which needs a link to be sent. This link can be created with the function pdf24Plugin_formSubmit(get_the_ID()). The call to this function can be placed everywhere in a template (after a call to pdf24Plugin_end() or before the call or in an other template) because the created link references the created hidden form created by pdf24Plugin_form(get_the_ID());. This feature makes PDF24 a very powerful PDF generator. You can generate the PDF file of nearly every content in you blog.

Ratings

3.3
8 reviews

Rating breakdown

Details Information

Version

4.2.2

First Released

10 Feb, 2008

Total Downloads

106,446

Wordpress Version

1.5.0 or higher

Tested up to:

5.1.3

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.