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 88 times) in the last month.)

Related Posts

Weaver Theme bug identified & resolved While I was configuring options in the Weaver theme (Weaver II-Pro) in preparation for my presentation at the Configurable Themes presentation for the...
2-column videos test Using column shortcodes to make 2 columns didn't work for this post. But I was able to do this on a Page (instead of a Post) using the theme's 2-colum...
Referrer spam, what is it, should you worry about ... I first became aware of the Referrer Spam problem after installing and using the WordPress plugin Stat Surfer. One of Stat Surfer's statistics categor...


Reader Interactions


  1. 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.

    • 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