Overview
You can add a PDF file to WordPress by linking to the PDF or directly embedding the PDF on the WordPress Page. Just make sure that the PDF file does not exceed the upload size limit of 5 MB.
Linking text or an image to a PDF
You can link text or an image to a PDF file:
Quick guide
- First, upload the PDF:
- In the left menu, click Media.
- Click Add New Media File.
- Click Select Files, and select the PDF file from your computer.
- Next, copy the link to the PDF:
- Once the file finishes uploading, click on it.
- Click Copy URL to clipboard.
- You can now paste the PDF link on your WordPress Page:
- Navigate to the Page where you want to insert the link.
- Select the text or image you want to link, and click the link icon.
- Paste the PDF link you copied earlier and press the Enter/Return key on your keyboard.
Detailed guide (with screenshots)
- First, upload the PDF:
- In the left menu, click Media.
- Click Add New Media File.
- Click Select Files, and select the PDF file from your computer.
- Next, copy the link to the PDF:
- Once the file finishes uploading, click on it.
- Click Copy URL to clipboard.
- You can now paste the PDF link on your WordPress Page:
- Navigate to the Page where you want to insert the link.
- Select the text or image you want to link, and click the link icon.
- Paste the PDF link you copied earlier and press the Enter/Return key on your keyboard.
Embedding a PDF on a Page
Alternatively, you can directly embed a PDF on a WordPress Page.
Quick guide
- First, upload the PDF:
- In the left menu, click Media.
- Click Add New Media File.
- Click Select Files, and select the PDF file from your computer.
- Next, copy the link to the PDF:
- Once the file finishes uploading, click on it.
- Click Copy URL to clipboard.
- You can now paste the PDF link on your WordPress Page:
- Navigate to the Page where you want to insert the PDF.
- Create a new Rich Text component.
- Click the Text tab.
- Type the following, replacing filename with the pasted PDF link:
- <embed src="filename" type="application/pdf" width="100%" height="1000px" />
- For example:
<embed src="https://dornsife.usc.edu/dts/wp-content/uploads/sites/67/2024/02/dts-vb5-it-policies.pdf" type="application/pdf" width="100%" height="1000px" />
- Save and preview your changes. If the embed window appears too tall, you can reduce the height from 1000px to a lower value.
Detailed guide (with screenshots)
- First, upload the PDF:
- In the left menu, click Media.
- Click Add New Media File.
- Click Select Files, and select the PDF file from your computer.
- Next, copy the link to the PDF:
- Once the file finishes uploading, click on it.
- Click Copy URL to clipboard.
- You can now paste the PDF link on your WordPress Page:
- Navigate to the Page where you want to insert the PDF.
- Create a new Rich Text component.
- Click the Text tab.
- Type the following, replacing filename with the pasted PDF link:
- <embed src="filename" type="application/pdf" width="100%" height="1000px" />
- For example:
<embed src="https://dornsife.usc.edu/dts/wp-content/uploads/sites/67/2024/02/dts-vb5-it-policies.pdf" type="application/pdf" width="100%" height="1000px" />
- Save and preview your changes. If the embed window appears too tall, you can reduce the height from 1000px to a lower value.