So, you have a website, but also have some PDF files to add to the pages. However, you want them to be able to view the PDF while on the site. How can you do that? Well, in this article, you’ll learn all about how to embed PDF in WordPress.
What is a PDF?
A PDF is short for Portable Document Format. It’s a unique type of document that Adobe created, so you can display links, information, and even audio and video. The PDF is not a web page, so it’s not coded in PHP, HTML, or CSS. PDFs are most commonly used for things like restaurant menus, brochures, ebooks, and printable newsletters.
Why would you offer a PDF for viewing or downloading on your site?
The reason why you’d offer a PDF for your website visitors to either view from the site, or download, is that it’s another way for them to gain information from you. In some cases, they can opt to download and read at their own leisure.
When it comes to viewing PDFs that are embedded on the site, it may be a detailed legal policy. The other reason for embedding a PDF on your site, is to increase a visitor's average time on page, which is the same reason you’d want to embed video on a page. Visitors with that spend a longer time on the site, won’t leave or bounce, and will more than likely interact or buy from you.
As for PDF downloading, as a website owner, you can use PDFs as a means to attract newsletter subscribers. To do this, you just need to put together information on a subject that your readers will find super valuable enough to sign up for your newsletter.
How to Embed PDF in WordPress
While you can upload a PDF directly into your WordPress Media Library, and link it within any post or page, embedding it is a bit different. By default, WordPress will only add a download link to your page, when you add a PDF to it, which means they’d have to visit the PDF, and end up leaving your website.
So, if you want them to view the PDF while on your site, here’s how:
Install and activate the PDF Embedder plugin.
Configure the plugin
Embed PDF













