{"id":324360,"date":"2026-06-13T23:47:17","date_gmt":"2026-06-13T23:47:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/docrenders-pdf-download-button\/"},"modified":"2026-06-13T23:49:34","modified_gmt":"2026-06-13T23:49:34","slug":"docrenders","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/docrenders\/","author":23514165,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.2","stable_tag":"1.0.2","tested":"7.0","requires":"6.2","requires_php":"8.1","requires_plugins":null,"header_name":"DocRenders \u2013 PDF Download Button","header_author":"DocRenders","header_description":"Add a \"Download PDF\" button to any post or page, powered by the DocRenders API.","assets_banners_color":"9ea4ab","last_updated":"2026-06-13 23:49:34","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/docrenders.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":39,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.2":{"tag":"1.0.2","author":"jwhist","date":"2026-06-13 23:49:34"}},"upgrade_notice":{"1.0.0":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3571415,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3571415,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3571415,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3571415,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"docrenders\/pdf-button":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"docrenders\/pdf-button","title":"PDF Download Button","category":"widgets","icon":"download","description":"Adds a Download PDF button that generates a PDF of this post or page.","keywords":["pdf","download","print","docrenders"],"supports":{"html":false,"multiple":false},"textdomain":"docrenders","editorScript":"file:.\/editor.js"}},"tagged_versions":["1.0.2"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Settings page \u2014 enter your API key and configure button behaviour.","2":"The PDF Download Button block in the Gutenberg editor.","3":"A shortcode-placed button on the front end.","4":"Example PDF output."}},"plugin_section":[],"plugin_tags":[568,12480,1764,3153,286],"plugin_category":[45,50],"plugin_contributors":[267012],"plugin_business_model":[],"class_list":["post-324360","plugin","type-plugin","status-publish","hentry","plugin_tags-download","plugin_tags-invoice","plugin_tags-pdf","plugin_tags-print","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_category-media","plugin_contributors-jwhist","plugin_committers-jwhist"],"banners":{"banner":"https:\/\/ps.w.org\/docrenders\/assets\/banner-772x250.png?rev=3571415","banner_2x":"https:\/\/ps.w.org\/docrenders\/assets\/banner-1544x500.png?rev=3571415","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/docrenders\/assets\/icon-128x128.png?rev=3571415","icon_2x":"https:\/\/ps.w.org\/docrenders\/assets\/icon-256x256.png?rev=3571415","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>DocRenders lets your visitors download a clean, print-ready PDF of any post or page with a single click. Connect your <a href=\"https:\/\/docrenders.com\">DocRenders<\/a> API key, place the button with a shortcode or Gutenberg block, and you're done.<\/p>\n\n<p><strong>Features<\/strong><\/p>\n\n<ul>\n<li>One-click PDF download for posts, pages, or any custom post type<\/li>\n<li>Shortcode <code>[docrenders_pdf]<\/code> \u2014 drop it anywhere in your content<\/li>\n<li><strong>Gutenberg block<\/strong> \u2014 insert the PDF button from the block inserter<\/li>\n<li>Configurable button label and placement<\/li>\n<li>Usage meter in the settings page so you always know where you stand<\/li>\n<li>Free plan includes a small \"PDF generated by DocRenders\" footer; upgrade to remove it<\/li>\n<\/ul>\n\n<p><strong>WooCommerce (optional)<\/strong><\/p>\n\n<p>When WooCommerce is active, a separate settings section appears that lets you automatically attach a PDF invoice to the customer-completed-order email.<\/p>\n\n<p><strong>How it works<\/strong><\/p>\n\n<p>DocRenders sends your post HTML to the DocRenders rendering service and streams the resulting PDF directly to the visitor's browser \u2014 no files are stored on your server.<\/p>\n\n<p>A free API key is available at <a href=\"https:\/\/docrenders.com\">docrenders.com<\/a>.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to the DocRenders API to generate PDFs. No PDF files are stored on your server \u2014 they are streamed directly to the visitor's browser.<\/p>\n\n<p><strong>Endpoints used:<\/strong><\/p>\n\n<ul>\n<li><code>\/render<\/code> \u2014 called whenever a visitor clicks the PDF download button or a WooCommerce invoice is generated. Sends the post\/page HTML (or invoice data) and your API key.<\/li>\n<li><code>\/usage<\/code> \u2014 called periodically from the admin settings page to display your monthly render count. Sends only your API key.<\/li>\n<\/ul>\n\n<p><strong>Data sent:<\/strong> post or page HTML content, invoice field values (shop name, address, order details), API key (as a Bearer token), and optional rendering options (page format, margins).<\/p>\n\n<p>This service is provided by DocRenders.\n    Terms of Service: https:\/\/docrenders.com\/terms\n    Privacy Policy: https:\/\/docrenders.com\/privacy<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>docrenders<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install directly from the WordPress Plugin Directory.<\/li>\n<li>Activate the plugin from the <strong>Plugins<\/strong> screen.<\/li>\n<li>Go to <strong>Settings \u2192 DocRenders<\/strong> and paste your API key.<\/li>\n<li>Add <code>[docrenders_pdf]<\/code> to any post or page, or insert the <strong>PDF Download Button<\/strong> block from the Gutenberg block inserter.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20an%20account%3F\"><h3>Do I need an account?<\/h3><\/dt>\n<dd><p>Yes. A free account at <a href=\"https:\/\/docrenders.com\">docrenders.com<\/a> gives you an API key and a monthly render allowance.<\/p><\/dd>\n<dt id=\"what%20does%20the%20free%20plan%20include%3F\"><h3>What does the free plan include?<\/h3><\/dt>\n<dd><p>The free plan includes a set number of PDF renders per month. Generated PDFs include a small \"PDF generated by DocRenders\" footer. Upgrading to a paid plan removes the footer and increases your render limit.<\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20page%20builders%3F\"><h3>Does this work with page builders?<\/h3><\/dt>\n<dd><p>The shortcode <code>[docrenders_pdf]<\/code> works wherever shortcodes are supported. The Gutenberg block works in the standard WordPress editor.<\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20woocommerce%3F\"><h3>Does this work with WooCommerce?<\/h3><\/dt>\n<dd><p>Yes. When WooCommerce is active, an optional invoice section appears in the settings. You can attach a PDF invoice to the customer-completed-order email automatically.<\/p><\/dd>\n<dt id=\"are%20pdfs%20stored%20on%20my%20server%3F\"><h3>Are PDFs stored on my server?<\/h3><\/dt>\n<dd><p>No. PDFs are streamed directly to the visitor's browser. Nothing is written to your server's filesystem.<\/p><\/dd>\n<dt id=\"which%20php%20version%20is%20required%3F\"><h3>Which PHP version is required?<\/h3><\/dt>\n<dd><p>PHP 8.1 or higher.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Removed custom CSS field per WordPress.org plugin review guidelines.<\/li>\n<li>Added external services documentation (Terms of Service and Privacy Policy links).<\/li>\n<li>Added jwhist to Contributors list.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Add a &quot;Download PDF&quot; button to any post or page \u2014 powered by the DocRenders API.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/324360","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=324360"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jwhist"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=324360"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=324360"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=324360"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=324360"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=324360"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=324360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}