How to embed a viewable pdf in a WordPress post

Normally putting the URL of a pdf on a line by itself doesn’t display the pdf on a Word­Press page, and if you use the add media button and paste the URL for the pdf into the URL field, you get a link that will open the pdf, but the pdf does not display on the page itself, e.g.:

But by installing the free Embedly plugin and pasting the URL of the pdf on its own line in the page editor, the multipage pdf file should display right on the page:

No Title

No Description

And here’s  the same document using an alternative plug-in called  Embed Any Document.

You can embed pdf files from most anywhere, for example here’s one that is on a Slack channel.

No Title

No Description

(This post was viewed 125 times) in the last month.)


Reader Interactions


  1. Doug Skinner says

    Fantastic plugin, simple to understand its benefits to the websites that I run. One snag that I discovered when the pdf didn’t render on my first post, was that I needed to toggle from the visual editor of WordPress to the text editor and remove the tags that somehow found their way on the same line as the url text.

    • Pieter Hartsook says

      Yep, like other Oembed protocol URLs it has to be on a line by itself. The visual editor in WordPress tends to wrap the pasted URL in “p” tags.

Leave a Reply

Your email address will not be published. Required fields are marked *

Limit search for phrases by using " " around the phrase