Linux 软件免费装
Banner图

BrilliantMinds PDF Embed

开发者 brilliantminds
更新时间 2026年10月14日 18:46
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

pdf viewer pdf gutenberg document embed pdf

下载

1.0.0

详情介绍:

BrilliantMinds PDF Embed turns any PDF into a clean, modern reading experience inside your content. Visitors read the document right on your page, with no plugins to install and no third-party services involved. Everything runs from your own server. Highlights Shortcode options All options are optional and override the defaults from Settings > PDF Viewer. Example: [bmpdf id="123" height="600" theme="dark" mode="single" download="0"] Developers Use the bmpdf_viewer_config filter to change the configuration passed to the viewer.

安装:

  1. Upload the brilliantminds-pdf-embed folder to /wp-content/plugins/, or install the plugin from the Plugins screen.
  2. Activate the plugin.
  3. Go to Settings > PDF Viewer to choose your defaults.
  4. Edit a post or page, add the PDF Viewer block, and choose a PDF. Or use the shortcode.

屏幕截图:

  • The PDF Viewer block in the block editor.
  • Settings: layout.
  • Settings: appearance.
  • Settings: toolbar buttons.
  • Settings: behavior.

升级注意事项:

1.0.0 First release.

常见问题:

Does it work with PDFs hosted on another website?

Only if that website allows cross-origin requests (CORS). If it does not, the viewer shows a button that opens the file directly. PDFs in your own Media Library always work.

Can I stop people from downloading the PDF?

You can hide the download and print buttons and disable right-click. This keeps casual visitors from saving the file, but a PDF that is publicly viewable can always be saved by a determined visitor. For truly private documents, use a membership or access-control plugin.

Are password-protected PDFs supported?

Yes. The viewer asks the visitor for the password.

Does it send data to any external service?

No. The viewer library is bundled with the plugin and all files are loaded from your own site.

Why is my PDF shown as a link instead of a viewer?

The link is shown while the viewer loads, or when JavaScript is disabled, or when the file cannot be read (for example because of missing CORS headers).

Does it work with page builders?

Yes, any builder with a shortcode or shortcode widget element works. If you add a viewer dynamically after the page loads, call window.BMPDF.init().

更新日志:

1.0.0