Home Plugins embed pdf by smallpdf
Embed PDF with Smallpdf logo

Embed PDF with Smallpdf

by Smallpdf on WordPress.org

Embed PDF by Smallpdf is a free and secure plugin that allows you to embed PDF documents directly into your posts and pages. No API keys are required.

(0)

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:

  1. 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.
  2. 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.

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

Active installations0+
Weekly downloads
17-15.00%
Version1.0.1
Last updated11/14/2024
WordPress version6.5
Tested up to6.7.2
PHP version7.4
Tags
documentembed pdfpdfpdf viewerSmallpdf