How to add PDFs on WordPress Post

You might think you can only add images on your posts. That’s not the truth. You can upload any kind of file using the ‘Add Media’ method. But the thing is, it’s viewable on the post only when WordPress supported it. Anyway you can give the option to download and view on the users local machine. As most browsers support to view PDFs on browser tabs, let’s see how to do this using a PDF file.

Ensure that you have prepared your PDF document carefully in advance. PDF documents can be created using many different software packages. Your PDF document should ideally be optimised for web use. This will provide quicker loading for your users.

When your document is prepared and ready to be added to your website, follow the steps below:

1. On your post editor click the ‘Add Media’ Button


2. Click Select Files or drag your PDF file into the dotted box. Your PDF document will be imported into the WordPress Media library.

insert media

3. Once the uploading/crunching process has completed, enter the text you require (for the link on the page) in the Title box.


4. Under ATTACHMENT DISPLAY SETTINGS choose Link To Media File. This ensures that text added to your post will link to the file you have just uploaded.


5. Click the Insert into Page/Post button


Now you have successfully uploaded the PDF file to the WordPress website.

After adding your link, you can highlight your text link, click the Insert/edit link button on the Toolbar and set the link to Open link in a new window/tab.

edit links

Images can also link to PDF documents. If you haven’t already imported your PDF document (using the steps above), use Media > Add New in WordPress to import your document first. If you don’t know the URL (web address) for your imported PDF, you can obtain this from the Media library. Then simply link your image to this address using the usual image link options.


Try to do this for a Text file or a Word file or a Excel file. All have the same process.



Written by Sandeep Likhar

Sandeep Likhar is from India, where he is a blogger, eBook designer, and founder of LetsDnD. He has 6 years of experience in the industry as a Digital Publishing Expert and eBook Converter, providing services to authors, publishers, and distributors worldwide. He is proficient in converting books into various formats, such as HTML, epub, mobi, word, PDF, including all major online platforms like iTunes, Kobo, Kindle, CreateSpace, B&N, Smashwords, and more.

Comment Below