Embed PDF With Smallpdf Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
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:
- Add the block by clicking on the + button in the Gutenberg editor.
- Search for “Embed PDF with Smallpdf”.
- You can either upload a PDF from your media library or paste a PDF URL in the block details in the sidebar.
- Adjust the height of the widget by specifying the size in pixels (px) from the sidebar.
-
Shortcode:
- Use the shortcode
[pdf url='_ADD_PDF_URL_HERE_']
to embed a PDF. - Control the height of the widget by adding the
height
parameter to the shortcode, e.g.,[pdf url='' height='480']
. The height value, in px, must be integer.
- Use the shortcode
This flexibility allows you to seamlessly integrate PDF files into your content, ensuring they are easily accessible to your audience.
Use of Third-Party Services
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
Development
The source code for this plugin is available on GitHub:
GitHub Repository
Screenshots
No screenshots provided