Embedwell PDF Embed Viewer
Embedwell drops a PDF straight into your content so readers can scroll through it without leaving the page. Pick a file from your Media Library (or paste a URL), choose a height, and you are done. It uses the browser’s own PDF viewer, so there is no heavy library to load and nothing is sent to an ou
Embedwell drops a PDF straight into your content so readers can scroll through it without leaving the page. Pick a file from your Media Library (or paste a URL), choose a height, and you are done.
It uses the browser’s own PDF viewer, so there is no heavy library to load and nothing is sent to an outside service. Your files stay on your own site.
What you get
- An “Embedwell” block for the editor, with a live preview while you set it up.
- An [ew-pdf-embed] shortcode for the classic editor, widgets, or anywhere shortcodes run.
- Control over the viewer height and the built-in toolbar.
- Fits the page to the viewer width and hides the thumbnail sidebar for a clean, full-width read.
- Responsive by default, so it fits phones as well as wide desktop layouts.
- Translation ready, properly escaped output, and no settings page to wade through.
How to use
Embed a PDF with the block
- 01Edit a post or page.
- 02Click the + (block inserter) and search for Embedwell .
- 03Add the block, then click Upload or Media Library and pick your PDF.
- 04In the block sidebar, set the viewer height , show or hide the toolbar , and type an accessible title if you like.
- 05Use the toolbar’s Replace PDF button any time you want to swap the file.
- 06Publish. The PDF shows up inline, fitted to the width of your content.
Tip: to run the viewer edge to edge, select the block and choose Wide width or Full width from the block toolbar.
Embed a PDF with the shortcode
Use the shortcode when you are in the classic editor, a widget, or a template file.
Embed a file from your Media Library by its attachment ID:
[ew-pdf-embed id="123"]
Embed any PDF by its URL, taller and with the toolbar hidden:
[ew-pdf-embed url="https://example.com/files/report.pdf" height="800" toolbar="0"]