PDF Embedder Documentation

Documentation, Reference Materials, and Tutorials for PDF Embedder

Get access to
Powerful Features!

Home » Documentation » Guides & Configuration » How best to add multiple PDFs to a single page or post

How best to add multiple PDFs to a single page or post

Want to showcase multiple PDFs on a single page without a long vertical list? A grid of thumbnail images gives readers a visual way to browse your documents and click through to the one they need.

This guide shows you how to display a grid of PDF thumbnails on a page or post using the PDF Thumbnails plugin alongside PDF Embedder.

Before you get started, install and activate the PDF Thumbnails plugin in addition to the PDF Embedder plugin. The PDF Thumbnails plugin generates the thumbnail image for each PDF; the grid layout itself is built directly in the WordPress editor rather than through a plugin setting.


Adding a PDF Thumbnail to the Grid

With both plugins active, add an Image block to your page or post and select the PDF you want to include in the grid.

If you’re running WordPress 5 with Gutenberg 4.6.1, use the Classic Editor block instead.

Configuring the Image Block Settings

Set the following options on the image block:

Left alignment makes each thumbnail float next to the next one, forming a grid as you add more PDFs.

Thumbnail grid with two pink document images; the right one labeled SAMPLE.pdf is selected with a blue border and checkmark.

Configured correctly, the block inserts code into the page similar to this:

<a href="https://example.com/attachment-page-of-pdf-name/" rel="attachment wp-att-#" title="PDF Title" target="_blank">
   <img src="https://example.com/wp-content/uploads/2017/09/pdf-name-pdf-image-150x150.jpg" alt="" width="150" height="150" />
</a>
Code language: HTML, XML (xml)

The link points to the PDF’s attachment page, and the image tag displays the generated thumbnail at 150×150 pixels.

Repeat these steps for each PDF you want in the grid.

Blog page header 'Thumbnails – embed directly' with three thumbnail previews in a row and a left sidebar showing date and categories.

Depending on your theme, you may need to add CSS to adjust margins or spacing so the thumbnails line up in a full grid.

Still have questions? We’re here to help!

Last Modified: