Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
Wonder PDF Embed icon

Wonder PDF Embed

v2.8
by WonderPlugin · 4.5 (13 reviews)

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

10K+ active installs Updated Jun 07, 2024 Tested to 6.5.5
Try Demo Download
Pre-installed Ready in ~10s No card

About Wonder PDF Embed

The WonderPlugin PDF Embed is a WordPress plugin that allows you to easily embed and display PDF files on your website. It uses Mozilla's PDF.js to provide a responsive PDF viewer. You can also use the plugin with Wonder Lightbox and Wonder Carousel to enhance the functionality of your PDF files.

Frequently asked questions

What is Wonder PDF Embed?
Wonder PDF Embed is a WordPress plugin that allows you to embed and display PDF files on your website using Mozilla's PDF.js. It provides an easy-to-use and responsive PDF viewer.
How do I embed a PDF using this plugin?
You can embed a PDF file by using a shortcode like [wonderplugin_pdf src="http://www.yourwordpresssite.com/yourdoc.pdf" width="100%" height="600px" style="border:0;"]. The PDF file must be hosted on the same domain as your WordPress website and use an absolute URL.
Can I hide download or print buttons?
Yes, the plugin offers options to hide the download button, print button, and text selection tool menu item in the PDF viewer toolbar. However, these options use CSS and JavaScript and are not a DRM scheme, so experienced visitors may still be able to download, print, or copy text.

Changelog

2.8

  • Change the PDF.js option isEvalSupported to false

2.7

  • Support Google Analytics

2.6

  • Support page, zoom, pagemode URL parameters

2.5

  • Fix a bug on setting the default PDF link target

2.4

  • Add an option to specify the default PDF link target

2.3

  • Change the PDF.js 2.0.493 folder name to the default name pdfjs to fix the possible cache issue

2.2

  • Change PDF.js folder name to fix the cache issue after upgrading

2.1

  • Fix the cache issue after upgrading PDF.js

2.0

  • Add Mozilla PDF.js version 2.0.493 (dark theme toolbar) as an option

1.9

  • Update Mozilla PDF.js to the latest version 2.12.313
  • NOTICE: The latest Mozilla PDF.js changes the viewer toolbar from dark to light color theme!

1.8

  • Support loading cross-domain PDF files by configuring remote server CORS policy

1.7

  • Escape shortcode attributes

1.6

  • Add an option to hide the whole toolbar
  • Add an option to hide the Open File button in the toolbar
  • Add an option to disable right click on the PDF viewer

1.5

  • Add an option to hide the Document Properties menu item in the toolbar
  • Enable the Hand Tool option when the Text Selection Tool menu is hidden

1.4

  • Add an option to hide the Text Selection Tool menu item in the toolbar

1.3

  • Add information for the toolbar options

1.2

  • Add two options to hide the Download and the Print button in the toolbar

1.1

  • Update Mozilla PDF.js to the latest version 2.0.493

1.0

  • First version released

Try other plugins

Really Simple SSL icon

Really Simple SSL

4.9 · 4M+ installs

The easiest way to improve security! Leverage your SSL certificate and protect your website visitors.