Highland Software Embed and Link Buttons for PDF Embedder

描述

Highland Software Embed and Link Buttons for PDF Embedder enhances the functionality of the PDF Embedder plugin by giving editors control over how PDFs are inserted into content.

Instead of automatically embedding every PDF, this plugin adds simple TinyMCE buttons that allow users to choose:

  • Embed the PDF using the PDF Embedder viewer
  • Insert a direct link to the PDF file

This improves flexibility, usability, and content control—especially for editors working in custom themes or classic editor environments.

Features

  • Adds TinyMCE buttons for:
    • Embed PDF
    • Link PDF
  • Uses the native WordPress media modal
  • Displays the PDF title or filename as link text
  • Fully compatible with the Classic Editor
  • No modifications required to the original PDF Embedder plugin
  • Lightweight and developer-friendly

Requirements

  • WordPress 5.8 or higher
  • PHP 7.4 or higher
  • PDF Embedder plugin installed and active

螢幕截圖

安裝

  1. Upload the plugin files to the /wp-content/plugins/highland-software-embed-and-link-buttons-for-pdf-embedder/ directory
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Ensure the PDF Embedder plugin is installed and active
  4. Open the editor and use the new “Embed PDF” or “Link PDF” buttons

常見問題

Does this replace the PDF Embedder plugin?

No. This is an add-on that enhances the PDF Embedder plugin.

Does this work with Gutenberg?

This plugin is designed for TinyMCE (Classic Editor or custom editors using wp_editor).

Can I customize the link text?

The plugin automatically uses the PDF title or filename. You can modify this behavior in the code if needed.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Highland Software Embed and Link Buttons for PDF Embedder” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

修改日誌

1.1.0

  • Added custom toolbar icons for PDF Embed and PDF Link TinyMCE buttons.
  • Replaced text-based editor buttons with custom branded icon buttons.
  • Added new Highland Software styled button assets with dark red background and gold icon styling.
  • Improved editor toolbar visual consistency for PDF insertion actions.
  • Added plugin asset localization to support dynamic icon loading.
  • Updated JavaScript button registration to use custom PNG icon assets instead of text labels.
  • Improved overall user experience when inserting PDF Embedder shortcodes or direct PDF links.
  • General code cleanup and version update.

1.0.0

  • Initial release
  • Added TinyMCE buttons for embed and link modes
  • Integrated with PDF Embedder via filter