{"id":175176,"date":"2023-09-22T11:51:36","date_gmt":"2023-09-22T11:51:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/html-to-pdf-converter\/"},"modified":"2024-12-24T11:56:46","modified_gmt":"2024-12-24T11:56:46","slug":"html-to-pdf-converter","status":"publish","type":"plugin","link":"https:\/\/kea.wordpress.org\/plugins\/html-to-pdf-converter\/","author":20977654,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.8","stable_tag":"1.0.8","tested":"6.7.5","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"HTML to PDF Converter","header_author":"html2pdf.app <info@html2pdf.app>","header_description":"A plugin that converts WordPress pages or posts to PDF using html2pdf.app API.","assets_banners_color":"","last_updated":"2024-12-24 11:56:46","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/html2pdf.app","header_author_uri":"https:\/\/html2pdf.app","rating":1,"author_block_rating":0,"active_installs":70,"downloads":2877,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.2":{"tag":"1.0.2","author":"html2pdfapp","date":"2023-09-30 07:18:13"},"1.0.3":{"tag":"1.0.3","author":"html2pdfapp","date":"2023-09-30 07:44:43"},"1.0.4":{"tag":"1.0.4","author":"html2pdfapp","date":"2023-10-31 07:13:11"},"1.0.5":{"tag":"1.0.5","author":"html2pdfapp","date":"2023-11-07 10:26:02"},"1.0.6":{"tag":"1.0.6","author":"html2pdfapp","date":"2024-03-12 16:22:12"},"1.0.7":{"tag":"1.0.7","author":"html2pdfapp","date":"2024-09-25 10:45:12"},"1.0.8":{"tag":"1.0.8","author":"html2pdfapp","date":"2024-12-24 11:56:46"}},"upgrade_notice":[],"ratings":{"1":1,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3157463,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[8604,172025,167209,1764,236099],"plugin_category":[50],"plugin_contributors":[222052],"plugin_business_model":[],"class_list":["post-175176","plugin","type-plugin","status-publish","hentry","plugin_tags-convert-to-pdf","plugin_tags-html2pdf","plugin_tags-page-to-pdf","plugin_tags-pdf","plugin_tags-save-to-pdf","plugin_category-media","plugin_contributors-html2pdfapp","plugin_committers-html2pdfapp"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/html-to-pdf-converter\/assets\/icon-128x128.png?rev=3157463","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The \"HTML to PDF Converter\" WordPress plugin created by <a href=\"https:\/\/html2pdf.app\">html2pdf.app<\/a>, provides an easy way to convert any WordPress page or post to a PDF file. Simply install the plugin, configure your API key and conversion settings, and use the shortcode  <code>[html2pdf text=\"Save as PDF\"]<\/code> to add a PDF conversion link to any page or post on your site.<\/p>\n\n<h3>Plugin Settings<\/h3>\n\n<p>To configure the plugin, go to the \"Settings -&gt; HTML to PDF\" page and enter your html2pdf.app API key. You can get the API key by registering an account on https:\/\/dash.html2pdf.app\/registration.<\/p>\n\n<p>You can also customize the PDF conversion settings, including the format, orientation (portrait or landscape), margins, and custom page size.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>To display the PDF conversion link using the shortcode, simply add the following shortcode to any page or post: <code>[html2pdf text=\"Save as PDF\"]<\/code><\/p>\n\n<h3>Examples<\/h3>\n\n<p>Use \"media\" parameter to activate special styles for printing: <code>[html2pdf text=\"Save as PDF\" media=\"print\"]<\/code>.<\/p>\n\n<p>CSS example to show only relevant part of the web page:<\/p>\n\n<pre>\n@media print {\n  \/* Hide everything *\/\n  * {\n      visibility: hidden;\n      margin: 0;\n      padding: 0;\n  }\n\n  \/* Make only your desired content visible *\/\n  .your-visible-content * {\n      visibility: visible;\n  }\n\n  \/* Optionally hide the conversion link from the PDF *\/\n  .html2pdf_button {\n      visibility: hidden!important;\n  }\n}\n<\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/html-to-pdf-converter<\/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>Configure plugin going to the configuration page: \"Settings -&gt; HTML to PDF\".<\/li>\n<li>Use the <code>[html2pdf text=\"Save as PDF\"]<\/code> shortcode to display the PDF conversion link on your site.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>Use page URL instead of persisted one, add settings link in a plugins page<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Update icon, increase compatibility with the latest wordpress version<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Update readme file with examples<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Add possibility to pass media parameter through the shortcode<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Improve error reporting<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Icon, author URI and support email added<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Initial version<\/li>\n<\/ul>\n\n<p>Initial release of the plugin.<\/p>","raw_excerpt":"A WordPress plugin that allows you to convert any WordPress page or post to a PDF file using the html2pdf.app API.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/175176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=175176"}],"author":[{"embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/html2pdfapp"}],"wp:attachment":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=175176"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=175176"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=175176"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=175176"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=175176"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=175176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}