The new block editor gives you a few options for adding a PDF to a page. Here's an example of how each will look on a page:
Option 1: Using the old ("classic") editor
You can edit page content just like previously (before the block editor), by using the "classic" block type. Follow steps 1-2 to add a new classic block. To edit an existing classic block refer to step 3.
1. Click on Add Block
2. Find "Classic" in the list and click on it
This will add a block that you can edit using the same tools available in the classic editor.
3. To add a link to a PDF, click on "Add Media", select the PDF, and click on "Insert into page."
4. The result will be a text link to the PDF. You can edit the link text after inserting it.
Option 2: Add a link to the PDF as a new block
This option will also add a link to the PDF, but in the newer format that has a download button.
1. Click on Add Block, find "File" in the list, and select it.
2. Upload the PDF or find it in the media library
3. Edit the text shown, if desired. (e.g. You can remove the hyphens in this example)
4. On the right side of the page you'll see block options. Here you can decide:
- Whether the link goes to Media File (directly viewing the PDF in your browser) or Attachment Page (viewing the PDF in a page on your site).
- Whether the link will open in a new tab in the browser (it's recommended that you turn this setting on).
- Whether to show the Download button, or simply have the text be the link.
Option 3: Embedding the PDF into the page as an image
This option will show the PDF on the page by turning it into an image. If you want to also link to the PDF, you'll need to do that separately.
1. Click on Add Block and select "Image"
2. Click on Media Library (even if you need to upload -- don't click on "Upload").
3. Upload your PDF
4. Right under where it says "Media Library", click on "All Media Items" and select "PDF" from the drop-down menu.
5. You'll be able to see your PDF in the library. Click on it and then click on "Select."
6. Your PDF will be converted into an image, and displayed on the page.
Comments
0 comments
Please sign in to leave a comment.