Embed PDF with Smallpdf makes it easy to add PDF documents to your WordPress posts and pages. This plugin offers two convenient methods for embedding PDFs:
Gutenberg Block:
Shortcode:
[pdf url='_ADD_PDF_URL_HERE_'] to embed a PDF.height parameter to the shortcode, e.g., [pdf url='' height='480']. The height value, in px, must be integer.This flexibility allows you to seamlessly integrate PDF files into your content, ensuring they are easily accessible to your audience.
This plugin integrates the Embed PDF widget viewer from Smallpdf. To display your PDF successfully, the file may be processed through Smallpdf’s servers.
By using this plugin, you agree to Smallpdf’s Terms & Conditions and Privacy Policy
The source code for this plugin is available on GitHub:
GitHub Repository