by Duke
3.5 (4 reviews)
Simple PDF Exporter
Export a single PDF with all posts, or custom post types.
Tested up to WP 6.1.9 (Current: 6.9)
v2.0
Current Version v2.0
Updated 3 years ago
Last Update on 14 Jan, 2023
Synced 6 hours ago
Last Synced on
Rank
#9,573
-2 this week
Active Installs
400+
-20.9%
KW Avg Position
48
—
No change
Downloads
13.9K
+7 today
Support Resolved
0%
—
No change
Rating
70%
Review 3.5 out of 5
3.5
(4 reviews)
Next Milestone 500
400+
500+
33
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Need 4 more installs to reach 500+
Rank Changes
Current
#9,573
Change
Best
#
Downloads Growth
Downloads
Growth
Peak
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
3.5
4 reviews
Overall
70%
5
2
(50%)
4
0
(0%)
3
1
(25%)
2
0
(0%)
1
1
(25%)
Tracked Keywords
Showing 2 of 2Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- 2.0
- Last Updated
- Jan 14, 2023
- Requires WP
- 0+
- Tested Up To
- 6.1.9
- PHP Version
- N/A
- Author
- Duke
Support & Rating
- Rating
- ★ ★ ★ ★ ☆ 3.5
- Reviews
- 4
- Support Threads
- 0
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowSimilar Plugins
WP Adminify – White Label WordPress, Admin Menu Editor, Login Customizer
7K+ installs
#2,739
Master Addons For Elementor – White Label, Free Widgets, Hover Effects, Conditions, & Animations
40K+ installs
#930
Skyboot Custom Icons for Elementor
200K+ installs
#254
Performance Lab
200K+ installs
#267
Photo Gallery by 10Web – Mobile-Friendly Image Gallery
200K+ installs
#268
Frequently Asked Questions
Common questions about Simple PDF Exporter
In order to export a pdf, you can do it from backend from Tools -> PDF Export or enter http://yoursite.com/?export=pdf in your browser. You can also make the url into a link or button on your site, to use on frontend.
You can add a frontend link or button on your frontend and customize it, like in this example for Twitter Bootstrap: Change the parameters to suit your needs. <?php // Check if PDF Export Plugin exists first if( function_exists('simple_pdf_export_process')) { ?> <ul class="nav nav-tabs pull-right pdf_export_menu"> <li role="presentation" class="dropdown"> <a class="dropdown-toggle btn" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Export Posts to PDF <span class="caret"></span></a> <ul class="dropdown-menu"> <?php $post_type_to_export = 'portfolio'; $final_pdf = SIMPLE_PDF_EXPORTER_EXPORT.$post_type_to_export.SIMPLE_PDF_EXPORTER_EXTRA_FILE_NAME.date('dMY').'.pdf'; if(file_exists($final_pdf)) { $file_date = date("d M Y - H:i", filemtime($final_pdf)); ?> <li><a class="" href="?export=pdf&post_type=portfolio&num=3" target="_blank">Download Existing Version <small>(<?php echo $file_date; ?> GMT)</small></a></li> <?php } ?> <li><a class="" href="?export=pdf&post_type=portfolio&num=3&force" target="_blank">Generate New Version <small>(might take several minutes)</small></a></li> </ul> </li> </ul> <?php } ?> I want to limit the amount of posts Use &num=x in your url. eg. http://yoursite.com/?export=pdf&num=3 I want to export a specific post Use &post_id=x with the ID of the post or custom post type you need, in your url. eg. http://yoursite.com/?export=pdf&post_id=3 In this case, don't use the post_type parameter. The num parameter will be ignored for obvious reasons. I want to create a PDF from a custom post type Use &post_type=x. eg. http://yoursite.com/?export=pdf&post_type=your-post-type-slug
You need to change the file pdf_layout.php inside the plugin folder wp-content/plugins/simple-pdf-exporter/process/pdf_layout.php Your layout must be echoed in php. eg. echo '<div>the content goes here</div>'; or it won't show up in the PDF. I want to override the existing file / generate a new pdf no matter what Use &force after your url eg. http://yoursite.com/?export=pdf&force This will also invalidate the internal cache, hence it will take more time to generate the PDF. Avoid if possible.
You can use a custom CSS to customize the layout. Create a file named pdf_export.css in your theme folder, otherwise the plugin's default (and really basic) CSS will be used (you can find it here wp-content/plugins/simple-pdf-exporter/assets/pdf_export.css)
Yes there's a few. In order to change them, add them to your wp-config.php file. eg. define(SIMPLE_PDF_EXPORTER_PAGINATION', true); Here's the full list and what they are set to, by default: define('SIMPLE_PDF_EXPORTER_DEBUG', false); // if true, the output will be in html for debugging purposes define('SIMPLE_PDF_EXPORTER_PAGINATION', false); define('SIMPLE_PDF_EXPORTER_HTML_OUTPUT', false); define(SIMPLE_PDF_EXPORTER_CSS_FILE', get_stylesheet_directory().'/pdf_export.css'); define('SIMPLE_PDF_EXPORTER_LAYOUT_FILE', get_stylesheet_directory().'/pdf_layout.php'); define('SIMPLE_PDF_EXPORTER_EXTRA_FILE_NAME', '-'); define('DOMPDF_PAPER_SIZE', 'A4'); define('DOMPDF_PAPER_ORIENTATION', 'portrait'); define('DOMPDF_DPI', 72); define('DOMPDF_ENABLE_REMOTE', true); define('DOMPDF_ENABLE_HTML5', true); // true by default, since v.1.9.2 define('DOMPDF_ENABLE_FONTSUBSETTING', true); define('DOMPDF_MEDIATYPE', 'print'); define('DOMPDF_FONTHEIGHTRATIO', 1);
You can set define('SIMPLE_PDF_EXPORTER_HTML_OUTPUT', true); in your wp-config.php file, just remember to comment the line or set to false, when you are done debugging.