Adding a PDF viewer in WordPress is easy. This guide will help you do it.
Why Add a PDF Viewer?
PDF files are useful. They keep the format of the document. PDF viewers let your visitors read files without downloading them.
Step-by-Step Guide
Let’s go through the steps to add a PDF viewer in WordPress.
Step 1: Install A Pdf Viewer Plugin
First, you need a plugin. A plugin is a tool that adds features to WordPress. There are many PDF viewer plugins available.
Recommended Plugins
- PDF Embedder
- PDF.js Viewer
- Google Doc Embedder
We will use the PDF Embedder plugin for this tutorial.
Step 2: Install Pdf Embedder Plugin
Go to your WordPress dashboard. Find the “Plugins” menu and click “Add New”.
In the search bar, type “PDF Embedder”. Click “Install Now” next to the plugin. After installation, click “Activate”.
Step 3: Upload Your Pdf File
Now, upload your PDF file. Go to the “Media” menu and click “Add New”.
Click “Select Files” and choose your PDF file. Wait for it to upload.
Step 4: Embed The Pdf In A Page Or Post
Next, embed the PDF in a page or post. Go to the “Pages” or “Posts” menu and click “Add New” or select an existing one.
In the content editor, click the “Add Media” button. Select your uploaded PDF file. Click “Insert into post”.
The PDF Embedder plugin will add a shortcode. This shortcode will display the PDF viewer.
Step 5: Publish Your Page Or Post
Finally, publish your page or post. Click the “Publish” button on the right side. Now, your visitors can view the PDF on your site.
Advanced Settings (Optional)
The PDF Embedder plugin has settings you can adjust. Go to the “Settings” menu and click “PDF Embedder”.
Here, you can change the width and height of the viewer. You can also enable download buttons.

Credit: www.wpbeginner.com
Troubleshooting
If the PDF viewer is not working, check these things:
- Is the plugin activated?
- Is the shortcode correct?
- Is the PDF file uploaded?
If you still have problems, contact the plugin support.

Credit: formidableforms.com
Frequently Asked Questions
How Do I Add A Pdf Viewer To WordPress?
Use a plugin like PDF Embedder. Install and activate it.
Which Is The Best Pdf Viewer Plugin For WordPress?
PDF Embedder and PDF Viewer for WordPress are popular choices.
Can I Embed A Pdf Without A Plugin?
Yes, use the Google Docs viewer with an iframe code.
Does Embedding A Pdf Affect Site Speed?
It can slightly affect speed. Optimize PDFs for faster loading.
Conclusion
Adding a PDF viewer in WordPress is simple. Follow these steps and your visitors can read PDFs on your site.
Try it today and improve your website.