PDFHost guide

How to Embed a PDF in WordPress Divi (No Plugin Needed)

Upload your PDF to PDFHost, copy a shareable link or embed code, and publish it in WordPress Divi without wrestling with attachments, broken permissions, or scattered document versions.

Try it with your PDF

Upload once, then finish signup to get your hosted link and embed code.

Why embedding beats uploading PDFs natively in WordPress Divi

WordPress Divi can upload PDF media, but native media links do not give you the same analytics, QR downloads, or cross-site reuse.

PDFHost gives WordPress pages a lightweight iframe, permanent hosted URL, download tracking, and a dashboard for every PDF.

Some WordPress plans or security plugins restrict custom iframes. If your editor strips the iframe, use the hosted PDF link instead.

The native WordPress Divi method, and where it falls short

Most teams first try to upload a PDF directly or paste a raw file-storage link. That can work for a quick internal page, but it becomes limiting when the PDF needs to be reused, measured, or shared outside the original editor.

Native workflow

  1. Open the post, page, or template in the WordPress editor or builder.
  2. Add a Custom HTML block or HTML widget.
  3. Paste the PDFHost iframe code.
  4. Preview the published page and adjust the iframe height if needed.

Common limits

  • Media Library PDF links are simple, but they do not provide PDFHost-style analytics.
  • Security plugins or hosted WordPress plans can strip iframe code.
  • Page builders often need a specific HTML widget rather than a normal text block.
Best forbrochure page
Best forportfolio PDF
Best fordownloadable report landing page

Step-by-step: upload to PDFHost, then paste into WordPress Divi

1Upload

Upload company-brochure.pdf to PDFHost and let the app generate a permanent document URL.

2Copy

Copy the hosted link, iframe embed code, QR code, or download link from your dashboard.

3Paste

Open the Custom HTML block, page builder HTML widget, or embed-capable block in WordPress Divi. Paste the PDFHost iframe into a Custom HTML block or your builder HTML widget, then preview the page before publishing.

4Track

Publish the page and monitor views, downloads, referrers, devices, browsers, and read-time trends.

Turn this guide into a live PDF link.

Host your PDF, copy the embed code, and publish it in WordPress Divi in minutes.

Create your PDFHost account

Copy-paste PDF embed example for WordPress Divi

After upload, replace the demo URL with your real PDFHost link.

<iframe src="https://pdfhost.se/d/pdf_xxxxxxxxxxxx" width="100%" height="700" style="border:0;" allowfullscreen></iframe>

If WordPress Divi blocks iframe embeds, use this hosted link instead:

https://pdfhost.se/d/pdf_xxxxxxxxxxxx
Upload PDF
Copy embed
Paste in WordPress Divi
Track readers

FAQ: embedding PDFs in WordPress Divi

Can I embed a PDF in WordPress Divi without a plugin?

Upload the PDF to PDFHost, copy the iframe embed code, and paste it into the custom HTML or embed area in WordPress Divi. If the editor blocks iframes, use the hosted PDF link instead.

Will the PDF work on mobile?

Yes. PDFHost links and iframe embeds are designed to open on mobile browsers. Use a tall enough embed height and test the published page on a phone.

Can I track views from a PDF embedded in WordPress Divi?

Yes. PDFHost records views, downloads, referrers, devices, browsers, and read-time trends on analytics-enabled plans.

Can I change the PDF settings later?

Yes. You can manage sharing settings, privacy, passwords, expiration rules, analytics, QR codes, and embed snippets from PDFHost. If you publish a completely new file, update the embed or link to the new PDF.