Directory / plugin

Highland Software Embed and Link Buttons for PDF Embedder

v1.3.0 · by jgrodgers

Adds Gutenberg and TinyMCE controls to insert PDFs as embedded viewers or direct links. Link-only output works even when PDF Embedder is not active.

About this plugin

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
  • Adds the dynamic Gutenberg “PDF Embed & Link” block
  • Supports embed, link-only, and embed-and-link display modes
  • Supports current-tab, new-tab, and download link actions
  • Uses the native Media Library and validates PDF attachments server-side
  • Allows direct editing of link text and preserves custom text when replacing a 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 for embedded viewer modes

Plugin tags