How to add a PDF viewer in WordPress
After configuring the plugin, you’re fully prepared to start embedding. Open any page or post of your website, and you will see the ‘ADD DOCUMENT’ button at the top of the content – feel free to use it for embedding your file. The free version of a plugin allows uploading the files from your computer, or adding it using a direct link, while the PRO version (paid one) allows to embed files directly from your Google Drive, Dropbox or Box accounts.
How to embed and view pdf in WordPress page without plugin
By default, when you upload and add the PDF files from the Media section to WordPress post; it only embeds a PDF in your blog post and shows only the PDF file name along with a link. In case, if you just want to give a user the PDF file download capabilities then it is good but not if you want to show the PDF file in the post so that user can view and read it directly on your website without leaving it; that also decrease the bounce rate.
12 Best WordPress PDF Viewer Plugins
Imagine you’re a teacher with a simple WordPress site. You’re getting excited about the new school year yet you’d like to give your students some digital-friendly documents for them to prepare for classes and understand the material. Your first order of business is to share the class rubric with all of the assignments and tests throughout the semester. You have the PDF file, but you’re unable to make it all that printer-friendly as a blog post or page.
How to Include a PDF Viewer in WordPress
Today I will demonstrate how to add a PDF viewer in WordPress using the PDF Embedder plugin. The plugin is very popular with over 100,000 active installs. There is a premium version that unlocks features like being able to download the PDF file, clickable hyperlinks inside the PDF, a download tracker, mobile friendly options, and security enhancements. The mobile-friendly option is really important because a lot of the web traffic today comes from smartphones. Keep in mind that there is one exception to where you can embed a PDF, which is in a blog. WordPress does not allow embedded PDFs in blogs, so do not try.
PDF Viewer plugin allows you to control the height and width of the PDF viewer. You can change this if you feel that PDF viewer container is too wide or narrow on your site.
You can also disable support for older versions of Internet Explorer. By default, the plugin will not show the PDF viewer to users with Internet Explorer 9 or below. Instead, those users will see a download link. You can modify the message users with old browsers will see.
Don’t forget to click on the save changes button to store your settings.
Embedding PDF Files with PDF Viewer in WordPress
9 Best PDF Plugins for WordPress
SearchWP is a paid WordPress plugin. It allows you to add a better search experience to your WordPress site. One of the features of this plugin is the ability to search the text inside PDF files. However, it cannot search PDF files that are encrypted, stored outside media library, or have images as text. See our guide on how to improve WordPress search with SearchWP