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

http://learninginaction.org/wp-content/uploads/Sonja-K-Movement-News-Nov.-20121.pdf

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

Related Posts

Relevanssi plugin breaks WordPress built-in editor... Relevanssi - A Better Search plugin breaks the search function in the "Media Library', "Insert Media panel", and also the 'Insert link to existing con...
Brilliant analysis of current internet marketing t... Mary Meeker of Morgan Stanley has created a really great presentation for the 2010 Web 2.0 conference here in San Francisco.If your business, or...
Just applied the WordPress Upgrade 3.4 and nothing... No news is good news! I applied the WordPress Upgrade 3.4 from 3.3.2 and so far I haven't found any conflicts with my themes of plugins on this site. ...

hartsook

Reader Interactions

Comments

  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

Categories