{"id":91545,"date":"2018-11-13T01:48:31","date_gmt":"2018-11-13T01:48:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/save-page-to-pdf\/"},"modified":"2018-11-13T01:48:31","modified_gmt":"2018-11-13T01:48:31","slug":"save-page-to-pdf","status":"publish","type":"plugin","link":"https:\/\/es.wordpress.org\/plugins\/save-page-to-pdf\/","author":16422176,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"4.9.29","requires":"4.1","requires_php":"5.2.4","requires_plugins":"","header_name":"Save Page to PDF","header_author":"API2PDF","header_description":"Allows visitors of your website to download the current page as a PDF","assets_banners_color":"","last_updated":"2018-11-13 01:48:31","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.api2pdf.com","header_plugin_uri":"http:\/\/www.api2pdf.com","header_author_uri":"","rating":3,"author_block_rating":0,"active_installs":10,"downloads":2088,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":1,"2":0,"3":0,"4":0,"5":1},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1764,38118],"plugin_category":[50],"plugin_contributors":[164243],"plugin_business_model":[],"class_list":["post-91545","plugin","type-plugin","status-publish","hentry","plugin_tags-pdf","plugin_tags-wkhtmltopdf","plugin_category-media","plugin_contributors-api2pdf","plugin_committers-api2pdf"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/save-page-to-pdf.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>WordPress Plugin Code for <a href=\"https:\/\/www.api2pdf.com\/documentation\">Api2Pdf REST API<\/a><\/p>\n\n<p>Api2Pdf.com is a REST API for instantly generating PDF documents from HTML, URLs, Microsoft Office Documents (Word, Excel, PPT), and images. The API also supports merge \/ concatenation of two or more PDFs. Api2Pdf is a wrapper for popular libraries such as <strong>wkhtmltopdf<\/strong>, <strong>Headless Chrome<\/strong>, and <strong>LibreOffice<\/strong>.<\/p>\n\n<p>This plugin adds a Save to PDF functionality to WordPress.  It will take the HTML contents of your page, convert it to PDF, and request the web browser to download it.<\/p>\n\n<p>The plugin will add the shortcode <strong>savepagetopdf<\/strong> and also the javascript function <strong>window.SavePageToPdf()<\/strong><\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<p>e.g.<\/p>\n\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/savePageToPdf<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Use the Settings-&gt;PDF Settings to configure the plugin<\/li>\n<li>You will need a valid Api2Pdf.com API Key.  You can create a key here: <a href=\"https:\/\/portal.api2pdf.com\/register\">api2pdf.com<\/a><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I include a link or button to generate a PDF?<\/dt>\n<dd><p>You can use the shortcode <strong>[savepagetopdf]<\/strong>, this will generate a link that will generate a PDF of the current page.  You can style this link by modifying the CSS class *savePageToPdf***<\/p><\/dd>\n<dt>What if I wish to include PDF Generation via my Theme, for example via a header widget?<\/dt>\n<dd><p>You can set the onclick event of any HTML elevent, for example <a href=\"void(0);\">Make me a PDF<\/a><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fix naming convention<\/li>\n<\/ul>","raw_excerpt":"Allows visitors of your website to download the current page as a PDF.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/91545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=91545"}],"author":[{"embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/api2pdf"}],"wp:attachment":[{"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=91545"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=91545"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=91545"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=91545"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=91545"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=91545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}