Linux 软件免费装

PDF Widget

开发者 kdt-solutions
更新时间 2026年11月20日 02:47
PHP版本: 7.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

embed elementor pdf viewer pdf adobe

下载

1.4 1.2 1.4.1

详情介绍:

PDF Widget embeds PDF files with the Adobe PDF Embed API. You can use it as an Elementor widget (including dynamic tags, e.g. an ACF file field) or with the [adobepdf] shortcode on any page. Features: You need a free client ID (API key) from Adobe. The domain of your website must be registered for that client ID.

安装:

  1. Install the plugin through the 'Plugins' menu in WordPress, or extract the zip file into the wp-content/plugins/ directory.
  2. Activate the plugin.
  3. Get a free client ID from Adobe: https://acrobatservices.adobe.com/dc-integration-creation-app-cdn/main.html?api=pdf-embed-api
  4. Go to Settings -> PDF Widget, enter the client ID and save.
  5. Use the Elementor widget "PDF Widget" or the [adobepdf] shortcode.

常见问题:

How do I use the shortcode?

[adobepdf link="https://example.com/file.pdf"] Optional attributes:

  • embedmode - IN_LINE (default), SIZED_CONTAINER, FULL_WINDOW or LIGHT_BOX
  • height - height for SIZED_CONTAINER and FULL_WINDOW, e.g. 600 or 80vh (default 600px)
  • download - no hides the download button
  • print - no hides the print button
Example: [adobepdf link="https://example.com/file.pdf" embedmode="SIZED_CONTAINER" height="700" download="no"]

Do I need Elementor?

Only for the widget. The shortcode works without Elementor.

The PDF is not shown

Check that the client ID is entered under Settings -> PDF Widget and that the domain of your website is registered for this client ID at Adobe. The PDF must be reachable by URL.

更新日志:

1.4.1 1.4 1.3 1.2 1.1 1.0