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

Vanilla PDF Embed

v0.0.8
by Mike Doherty · 4.6 (32 reviews)

Embeds PDFs in your pages and posts, without using JS.

4K+ active installs Updated Nov 08, 2016 Tested to 4.5.0
Try Demo Download
Pre-installed Ready in ~10s No card

About Vanilla PDF Embed

To embed a PDF that you have uploaded to your WordPress site, simply put the URL for the attachment page in your post on its own line. This will embed the PDF with the default settings. If you want to customize the embed or the PDF is not in your media library, you can use the [pdf] shorttag and provide the URL for the PDF to embed. However, embedding PDFs is not well-supported and there are alternatives like PDFObject or PDF.js that you can consider.

Screenshots

Vanilla PDF Embed screenshot
Vanilla PDF Embed screenshot

Changelog

0.0.8

  • Add the ability to set PDF open params

0.0.7

  • Fix a couple corner cases – thanks AngelinaBelle!

0.0.6

  • Set a default height of 500em

0.0.5

  • Fix a simple programming error; thanks to firedog341 for the report

0.0.4

  • By default, use a 100% width embed frame
  • Expanded readme

0.0.3

  • Embed PDFs on attachment pages
  • Fix a spacing issue for PDFs with no title
  • Don’t use PDF open parameters for the fallback link

0.0.2

  • Don’t embed non-PDFs from the media library

0.0.1

  • Initial release

Try other plugins