{"id":182299,"date":"2023-11-25T14:07:07","date_gmt":"2023-11-25T14:07:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/embed-pdf-for-wpforms\/"},"modified":"2025-09-18T18:21:20","modified_gmt":"2025-09-18T18:21:20","slug":"embed-pdf-wpforms","status":"publish","type":"plugin","link":"https:\/\/sr.wordpress.org\/plugins\/embed-pdf-wpforms\/","author":1241126,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.6","stable_tag":"1.1.6","tested":"6.8.5","requires":"4.0","requires_php":"5.6","requires_plugins":null,"header_name":"Embed PDF for WPForms","header_author":"Breakfast","header_description":"Add-on for WPForms. Provides a PDF Viewer field.","assets_banners_color":"66341a","last_updated":"2025-09-18 18:21:20","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/breakfastco.xyz\/embed-pdf-wpforms\/","header_author_uri":"https:\/\/breakfastco.xyz","rating":0,"author_block_rating":0,"active_installs":30,"downloads":2603,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.1":{"tag":"1.1.1","author":"salzano","date":"2023-11-25 14:07:12"},"1.1.2":{"tag":"1.1.2","author":"salzano","date":"2024-01-17 22:52:30"},"1.1.3":{"tag":"1.1.3","author":"salzano","date":"2024-01-17 23:07:29"},"1.1.4":{"tag":"1.1.4","author":"salzano","date":"2025-01-21 13:56:20"},"1.1.5":{"tag":"1.1.5","author":"salzano","date":"2025-08-26 20:32:31"},"1.1.6":{"tag":"1.1.6","author":"salzano","date":"2025-09-18 18:21:20"}},"upgrade_notice":{"1.1.6":"<p>Bug fixes for uploading PDFs in the form builder.<\/p>","1.1.5":"<p>Bug fix to suppress the notice &quot;Function _load_textdomain_just_in_time was called incorrectly.&quot;<\/p>","1.1.4":"<p>Includes all translation files in a folder \/languages. Bumps tested up to version to 6.7.1.<\/p>","1.1.3":"<p>Adds compatibility with language packs for translation.<\/p>","1.1.2":"<p>Adds compatibility with language packs for translation. Changes the detail sent in JavaScript event epdf_gf_render_page from an integer to an object. Changes tested up to version to 6.4.2.<\/p>","1.1.1":"<p>Adds comments explaining what pdfjs-dist is and where the unminimized files are available. Changes tested up to version to 6.4.1.<\/p>","1.0.0":"<p>First version.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3001560,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3001560,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3001560,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3001560,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3001560,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3001560,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3001560,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3001560,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Screenshot of a PDF embedded in a WPForm.","2":"Screenshot of a PDF Viewer field type in the WPForms form builder.","3":"Screenshot of the form builder sidebar showing the PDF Viewer field settings."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[221964,1764,130377,130711],"plugin_category":[50],"plugin_contributors":[79900],"plugin_business_model":[],"class_list":["post-182299","plugin","type-plugin","status-publish","hentry","plugin_tags-inkless","plugin_tags-pdf","plugin_tags-wp-forms","plugin_tags-wpforms","plugin_category-media","plugin_contributors-salzano","plugin_committers-salzano"],"banners":{"banner":"https:\/\/ps.w.org\/embed-pdf-wpforms\/assets\/banner-772x250.jpg?rev=3001560","banner_2x":"https:\/\/ps.w.org\/embed-pdf-wpforms\/assets\/banner-1544x500.jpg?rev=3001560","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/embed-pdf-wpforms\/assets\/icon.svg?rev=3001560","icon":"https:\/\/ps.w.org\/embed-pdf-wpforms\/assets\/icon.svg?rev=3001560","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/embed-pdf-wpforms\/assets\/screenshot-1.png?rev=3001560","caption":"Screenshot of a PDF embedded in a WPForm."},{"src":"https:\/\/ps.w.org\/embed-pdf-wpforms\/assets\/screenshot-2.png?rev=3001560","caption":"Screenshot of a PDF Viewer field type in the WPForms form builder."},{"src":"https:\/\/ps.w.org\/embed-pdf-wpforms\/assets\/screenshot-3.png?rev=3001560","caption":"Screenshot of the form builder sidebar showing the PDF Viewer field settings."}],"raw_content":"<!--section=description-->\n<p>Embed PDF for WPForms provides a PDF Viewer field type. Include PDF files in forms without requiring users to download the PDF. Supports multi-page documents for PDF flipbooks in WPForms. Provides zoom controls.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Drag a PDF Viewer field onto any WPForm<\/li>\n<li>Choose PDF from Media Library or provide local URL<\/li>\n<li>Set default zoom level<\/li>\n<li>Supports multi-page PDFs<\/li>\n<li>Supports Dynamic Population<\/li>\n<\/ul>\n\n<h4>Demo<\/h4>\n\n<p><a href=\"https:\/\/breakfastco.xyz\/embed-pdf-for-wpforms\/\">https:\/\/breakfastco.xyz\/embed-pdf-for-wpforms\/<\/a><\/p>\n\n<p>Have an idea for a new feature? Please create an Issue on Github or Support Topic on wordpress.org.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Search for Embed PDF for WPForms in the Add New tab of the dashboard plugins page and press the Install Now button<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Open the form editor through the 'WPForms' menu in WordPress<\/li>\n<li>Add a 'PDF Viewer' field from the Standard Fields tab in the form editor.<\/li>\n<\/ol>\n\n<h4>pdfjs-dist package<\/h4>\n\n<p>This plugin includes https:\/\/www.npmjs.com\/package\/pdfjs-dist, which contains combined and minimized scripts built by the <code>gulp dist<\/code> command in https:\/\/github.com\/mozilla\/pdf.js. No unusual or additional action is required to download or install this plugin. If you wish to obtain the unminimized scripts or build pdfjs-dist yourself, use these commands:<\/p>\n\n<p>git clone https:\/\/github.com\/mozilla\/pdf.js\ncd pdf.js\nnpm install\ngulp dist<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20can%20i%20suggest%20a%20new%20feature%20for%20this%20plugin%3F'><h3>How can I suggest a new feature for this plugin?<\/h3><\/dt>\n<dd><p>Please create an <a href=\"https:\/\/github.com\/breakfastco\/embed-pdf-wpforms\/issues\">Issue on Github<\/a> or Support Topic on wordpress.org.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.6<\/h4>\n\n<ul>\n<li>[Fixed] Bug fixes for uploading PDFs in the form builder.<\/li>\n<\/ul>\n\n<h4>1.1.5<\/h4>\n\n<ul>\n<li>[Fixed] Bug fix to suppress the notice \"Function _load_textdomain_just_in_time was called incorrectly.\"<\/li>\n<\/ul>\n\n<h4>1.1.4<\/h4>\n\n<ul>\n<li>[Added] Includes all translation files in a folder \/languages.<\/li>\n<li>[Changed] Bumps tested up to version to 6.7.1.<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>[Fixed] Adds compatibility with language packs for translation. For real this time.<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>[Fixed] Adds compatibility with language packs for translation.<\/li>\n<li>[Changed] Changes the detail sent in JavaScript event epdf_gf_render_page from an integer to an object.<\/li>\n<li>[Changed] Changes tested up to version to 6.4.2.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>[Added] Adds comments explaining what pdfjs-dist is and where the unminimized files are available.<\/li>\n<li>[Changed] Changes tested up to version to 6.4.1.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>[Added] Adds a Download PDF into Media Library button to the CORS error messages for users that have the upload_files capability.<\/li>\n<li>[Fixed] Fixes the Choose PDF button not working for users without access to the Media Library by telling users why it does not work. The upload_files capability is required to use the Media Library dashboard features like the modal this button opens.<\/li>\n<li>[Fixed] Avoid errors when two copies of this plugin are activated at the same time.<\/li>\n<li>[Fixed] Adds a \"file not found\" error to the form editor so users know that PDF files are missing without previewing the form.<\/li>\n<li>[Fixed] Changes CSS so the previous, next, zoom in, and zoom out buttons look better on smaller screens.<\/li>\n<li>[Changed] Changes the tested up to version to 6.3.2.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>[Fixed] Moves inline JavaScript required for each PDF Viewer field to the wpforms_frontend_js hook.<\/li>\n<li>[Fixed] Stops writing errors to the browser developer console unless SCRIPT_DEBUG is enabled.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>[Added] First version.<\/li>\n<\/ul>","raw_excerpt":"An add-on for WPForms. Provides a PDF Viewer field.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/182299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=182299"}],"author":[{"embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/salzano"}],"wp:attachment":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=182299"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=182299"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=182299"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=182299"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=182299"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=182299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}