Embed PDF for WPForms

설명

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.

Features

  • Drag a PDF Viewer field onto any WPForm
  • Choose PDF from Media Library or provide local URL
  • Set default zoom level
  • Supports multi-page PDFs
  • Supports Dynamic Population

Demo

https://breakfastco.xyz/embed-pdf-for-wpforms/

Have an idea for a new feature? Please create an Issue on Github or Support Topic on wordpress.org.

스크린샷

  • Screenshot of a PDF embedded in a WPForm.
  • Screenshot of a PDF Viewer field type in the WPForms form builder.
  • Screenshot of the form builder sidebar showing the PDF Viewer field settings.

설치

  1. Search for Embed PDF for WPForms in the Add New tab of the dashboard plugins page and press the Install Now button
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Open the form editor through the ‘WPForms’ menu in WordPress
  4. Add a ‘PDF Viewer’ field from the Standard Fields tab in the form editor.

pdfjs-dist package

This plugin includes https://www.npmjs.com/package/pdfjs-dist, which contains combined and minimized scripts built by the gulp dist 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:

git clone https://github.com/mozilla/pdf.js
cd pdf.js
npm install
gulp dist

FAQ

How can I suggest a new feature for this plugin?

Please create an Issue on Github or Support Topic on wordpress.org.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Embed PDF for WPForms”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Embed PDF for WPForms”(이)가 3 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Embed PDF for WPForms”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.1.3

  • [Fixed] Adds compatibility with language packs for translation. For real this time.

1.1.2

  • [Fixed] Adds compatibility with language packs for translation.
  • [Changed] Changes the detail sent in JavaScript event epdf_gf_render_page from an integer to an object.
  • [Changed] Changes tested up to version to 6.4.2.

1.1.1

  • [Added] Adds comments explaining what pdfjs-dist is and where the unminimized files are available.
  • [Changed] Changes tested up to version to 6.4.1.

1.1.0

  • [Added] Adds a Download PDF into Media Library button to the CORS error messages for users that have the upload_files capability.
  • [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.
  • [Fixed] Avoid errors when two copies of this plugin are activated at the same time.
  • [Fixed] Adds a “file not found” error to the form editor so users know that PDF files are missing without previewing the form.
  • [Fixed] Changes CSS so the previous, next, zoom in, and zoom out buttons look better on smaller screens.
  • [Changed] Changes the tested up to version to 6.3.2.

1.0.1

  • [Fixed] Moves inline JavaScript required for each PDF Viewer field to the wpforms_frontend_js hook.
  • [Fixed] Stops writing errors to the browser developer console unless SCRIPT_DEBUG is enabled.

1.0.0

  • [Added] First version.