Do you want to add a PDF file in your WordPress site? In this article we are going to show how you can easily add and upload a PDF file to your website.
What is PDF?
PDF is a type of file format for viewing and sharing documents. It was developed by Adobe and is one of the most common formats for keeping the text and images in the intended format across all the devices and operating systems.
Uploading and adding a PDF file to your posts and pages
WordPress makes it very easy to upload a PDF file and add it to your posts and pages. Below are steps to upload and add a PDF file using the WordPress classic editor.
- Create or edit a page or post where you want to add the PDF file.
- Above the WordPress editor you will see an Add Media button. Click on it.
- A popup will appear with the title Add Media. Make sure you are on the Upload files tab in it.
- Click on the Select Files button to browse and select the PDF file you want to upload.
- Once the file is uploaded you will see the details of the file on the right hand side under the ATTACHMENT DETAILS section.
- You can change the title and add a caption or description to the file.
- To add the file to the page or post, under the ATTACHMENT DISPLAY SETTINGS, select the Media File option in the Link To drop down and select the size of the PDF file to display.
- Once done click on the Insert into post button. A link to download the PDF file will appear in your page or post. You can now save or publish to successfully add the PDF file to the page or post.
If you are using the Gutenberg block editor then the steps are a bit different. Below are steps to upload and add a PDF file using the Gutenberg block editor.
- Create or edit a page or post where you want to add the PDF file.
- Click on the + sign at the top for adding a new block.
- Under the Media section select the File block.
- Click on the Upload button. Browse and select the PDF file you want to upload.
- Once uploaded you can add the title for the file and a Download button will be visible next to it. You can disable or change other settings by clicking on the Show Block Settings option which is under the three vertical dots in the toolbar.
- Save or publish the page or post to successfully add the PDF file.
Conclusion
PDF is a common file format for sharing documents and you should be familiar with the process to upload and add it to your WordPress website. The above steps upload and add the PDF file to your WordPress website and make them available for download to everyone.