Black Friday50% off every Pro template and membership with code50% off with Ends in 05days15hrs54min12secShop the sale →

How to Upload and Embed PDF Files in WordPress

Are you looking for the most effective and simplest way to embed PDF files in WordPress? This article offers you the easiest ways to resolve this problem. Let’s check them out and choose your favorite method. Why should you embed…

How to upload and embed PDF Files in WordPress?

Are you looking for the most effective and simplest way to embed PDF files in WordPress? This article offers you the easiest ways to resolve this problem. Let’s check them out and choose your favorite method.

Why should you embed PDF files on your WordPress site?

As you know, PDF files bring a wide range of valuable benefits to your business and service. You can use them to share insights with your audience. For example, when you want to promote a book through your website, it is necessary for you to give readers a chance to preview a sample of your book. You can also combine multiple PDFs into a single document using a PDF combiner for a more streamlined presentation.

Or if you are running a coaching website, training program, or an educational site, you need to share assignments with your students or audiences. In this way, you allow your students to view the PDF files or download them. In a nutshell, you can take advantage of embedding PDF files to grow your website in various ways.

In today’s tutorial, we will share with you how to upload and embed PDF files in WordPress by using the easiest methods. Let’s dive into the following sections.

How to upload PDF files in WordPress?

Method 1: Upload PDF files in WordPress’s editor

This is the easiest way to upload PDF files to WordPress. Uploading a PDF file is similar to uploading photos or videos. You only need to choose the PDF file that you want to upload to your WordPress site. In order to do this, you can follow these steps:

  1.  Go to Posts/ Pages > Add New on your dashboard. You can also choose an existing post/page to edit.
  2. Now, you need to click on the Add Media button. This opens a popup window where you can upload a PDF file from your computer.

embed PDf files in WordPress

3. You can click on the Upload Files option and then click on the Select Files button to upload your PDF files. Or you can also drag and drop your PDF file into this window.

image15 3

Now, your PDF file has been uploaded to the media library. If you want to embed this PDF file in your post/page, just click on the Insert into post button

Method 2: Upload PDF files with Media Library

This method allows you to upload PDF files to the Media Library before you embed them on your posts/pages. Follow the steps below:

  1.  Go to Media > Add New on your dashboard
  2. Click on the Select Files button to upload or drag and drop your PDF file to upload it

embed PDf files in WordPress 2

3. Once your PDF file is uploaded, you will receive the URL of your PDF file.

Now you can copy the URL of that file and then embed it in any post/page you want. You can even use PDF file links with widgets, URLs, and other files.

image17 3

How to embed a PDF file in a post/page in WordPress?

Method 1: Using PDF Embedder plugin

To embed a PDF file in a post/page, we are going to use the PDF Embedder plugin. This is one of the most remarkable WordPress PDF Viewer Plugins in the market nowadays. You can use this plugin to embed PDF files directly into your post/page. Moreover, you are able to specify a width and the correct height will be calculated automatically.

Step 1: Install and activate this plugin 

As with other plugins, to install this plugin, first go to Plugins > Add New on your dashboard. Then type the name of this plugin in the search bar. Click on the Install Now button and activate it.

embed PDf files in WordPress 3

Step 2: Configure the settings

Next, visit Settings> PDF Embedder page. This will open the PDF Embedder settings page. The free version of this plugin offers some limited settings including:

  • Width and height: this option allows you to set a specific width and height for your PDF files.
  • Toolbar Location: you can optionally display the toolbar at the top or bottom of the page. This toolbar enables users to zoom in and out of the PDF and toggle between pages.
  • Toolbar Hover: choose whether to have the toolbar permanently visible or to show it only when a user hovers over the PDF.

After that, don’t forget to click on the Save changes button at the bottom of the page.

image21 4

Step 3: Embed the PDF file

Simply click on the Add Media button and then select the PDF file that you have uploaded before.

image22 4

You can set the title for your PDF file. And click on the Insert into post button.

embed PDf files in WordPress 4

In the post editor, you will see a shortcode for your PDF.

Finally, click on the Preview or Publish button. You will see that your PDF file is displayed on the front end of your WordPress site.

image24 2

Method 2: Using the Gutenberg Editor

The simplest way to embed a PDF file in WordPress is to use the Gutenberg block editor. There’s a new block in Gutenberg that allows you to embed a link to a file. And it’s an easy way to embed downloadable PDF files as well.

In particular, this method not only allows you to embed a download link to your PDF file but also makes it viewable by users on your website.

Firstly, visit Posts > Add New or edit an existing post/page. Search for the File block in the search bar. Click on the Media Library option to select the PDF file that you uploaded.

image26 3

Now, there will be a link that pops up on the screen. This method allows users to preview the whole PDF file by scrolling. In addition, it is easy for users to click on the download symbol or download text button to download the PDF file. Moreover, users can zoom in, zoom out, rotate and do other things.

And finally, click on the Upload or Publish button to see your PDF file live on the front end.

embed PDf files in WordPress 5

Summary

We have just covered the simplest ways to help you upload and embed PDF files in WordPress. Hopefully, this article has given you useful ways to handle your problems and promote your blog and business. If you have any questions about the methods above, don’t hesitate to mention them in the comment section below.

Moreover, if you are looking for a beautiful, responsive theme to build your desired website, don’t ignore our Free WordPress Themes. There you will find a wide range of excellent designs that are completely suitable for various topics. Let’s visit and try one.

 

Build it with a template

Start from a finished design: Joomla templates, WordPress themes or the AI-ready block themes. Every template has a free version and a live demo.

Free download

We'll send the link, setup tips and update notices, and you can reach us anytime through our AI assistant and contact form.

The download starts at once. We email you the link and ask you to confirm your address. Privacy policy.