WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by WonderPlugin v3.1

Wonder PDF Embed

Embed PDF to your WordPress website by using Mozilla's PDF.js

Wonder PDF Embed

The facts

Rating
4.5★ from 13
Active installs
8k+
Price
Free
Last updated
18 Feb 2026
Added
Jun 2017
Requires WP
3.6
Tested up to
WP 6.9.7
Downloads
160,584

Our analysis

AI-assisted

Wonder PDF Embed is a WordPress plugin that allows you to embed and display PDF files directly on your website using Mozilla's PDF.js technology. It provides a responsive viewer for PDFs, which can be integrated into posts or pages through a shortcode. The plugin also offers options to hide certain toolbar buttons in the viewer, although this does not provide full protection against downloading or printing the PDF files.

This plugin is suitable for users who need to present PDF documents on their WordPress sites, such as educators, businesses, or anyone looking to share documents without requiring downloads. It works best when the PDFs are hosted on the same domain as the WordPress site.

Best for: This plugin suits anyone looking to embed PDF documents on their WordPress site.

What it does well

  • Easy to use with a shortcode for embedding
  • Responsive PDF viewer
  • Utilises Mozilla's PDF.js technology
  • Options to hide toolbar buttons
  • Compatible with premium plugins for lightbox and carousel features

Where it falls short

  • Does not provide DRM protection for PDF files
  • PDF files must be hosted on the same domain

Verdict

Wonder PDF Embed offers a straightforward solution for displaying PDFs on WordPress, though it lacks advanced security features for document protection.

From the developer

WonderPlugin's own description of Wonder PDF Embed, lightly tidied.

Wonder PDF Embed

WonderPlugin PDF Embed is a plugin to embed and display PDF files on your WordPres website by using Mozilla’s PDF.js.

Features

  • Easy to use
  • Responsive PDF viewer
  • Using Mozilla’s PDF.js
  • Embed and display PDF files in WordPress posts or pages – click to see the online demo.
  • Works with the premium plugin Wonder Lightbox to open a PDF file in a lightbox popup
  • Works with the premium plugin Wonder Carousel to create a PDF carousel
  • Options to hide the download button, the print button and the text selection tool menu item in the PDF viewer toolbar. Please note: the options only use CSS and JavaScript code to hide the relative menu items/buttons in the PDF.js viewer toolbar. It’s NOT a DRM (Digital Rights Management) scheme to protect the PDF file. It does NOT stop experienced visitors from downloading, printing or copying text from the PDF file.

How to Use

You can use the following shortcode to embed a PDF file to WordPress posts or pages:

[wonderplugin_pdf src=”http://www.yourwordpresssite.com/yourdoc.pdf” width=”100%” height=”600px” style=”border:0;”]

PDF URL Requirements

  • The PDF file MUST be hosted on the SAME DOMAIN as the WordPress website.
  • The PDF URL MUST be an absolute URL, that’s, the URL must start with http:// or https://.
  • Make sure there are no special characters in the PDF URL, for example, apostrophes, double quotes, accented letters etc.
  • The PDF URL is defined with the src attribute.

Shortcode Attributes

  • You can use px or % for the width and height attributes, for example, 600px or 100%.
  • By using % for the width attribute, the PDF viewer will be responsive.
  • If you use 100% for the height attribute, make sure the container of the shortcode has a proper height value.
  • You can use the style attribute to define the CSS style of the PDF viewer which is an iframe.

For more information, please view the online tutorial: https://www.wonderplugin.com/wordpress-pdf-embed/#tutorial

Open a PDF file in a lightbox popup

Please view the online document: https://www.wonderplugin.com/wordpress-pdf-embed/#lightbox

Create a PDF carousel

Please view the online document: https://www.wonderplugin.com/wordpress-pdf-embed/#carousel

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for popups and optins.

Popup Maker

Want to boost sales & marketing efforts? Use your favorite forms & builder. Unlimited popups & imp...

Free 700k+ installs 4.9★ (4,504)
Firelight Lightbox

Formerly Easy Fancybox. The most popular WordPress lightbox plugin. Simple, fast, and responsive. Opens images...

Free 200k+ installs 4.8★ (355)
My Sticky Bar

Create a welcome notification bar for your website. Also, My Sticky Bar plugin can make your menu or header st...

Free 100k+ installs 4.9★ (1,196)
Depicter

Build Stunning Slider and Popup. Exit intent Popup, Image slider carousel, video slider carousel, post slider...

Free 80k+ installs 4.6★ (234)
Poptin

Poptin

90

Free email automation, email campaigns, exit intent popup builder, gamified popups with spin the wheel, contac...

Free 20k+ installs 4.9★ (694)