Title: Embed PDF with Smallpdf
Author: Smallpdf
Published: <strong>14 novembre 2024</strong>
Last modified: 14 novembre 2024

---

Recherche d’extensions

![](https://ps.w.org/embed-pdf-by-smallpdf/assets/banner-772x250.png?rev=3188406)

![](https://ps.w.org/embed-pdf-by-smallpdf/assets/icon-256x256.png?rev=3188406)

# Embed PDF with Smallpdf

 Par [Smallpdf](https://profiles.wordpress.org/smallpdf/)

[Télécharger](https://downloads.wordpress.org/plugin/embed-pdf-by-smallpdf.zip)

 * [Détails](https://fr.wordpress.org/plugins/embed-pdf-by-smallpdf/#description)
 * [Avis](https://fr.wordpress.org/plugins/embed-pdf-by-smallpdf/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/embed-pdf-by-smallpdf/#installation)
 * [Développement](https://fr.wordpress.org/plugins/embed-pdf-by-smallpdf/#developers)

 [Support](https://wordpress.org/support/plugin/embed-pdf-by-smallpdf/)

## 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:

 1. **Gutenberg Block**:
 2.  * 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.
 3. **Shortcode**:
 4.  * 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](https://smallpdf.com/embed-pdf).
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](https://smallpdf.com/terms)
and [Privacy Policy](https://smallpdf.com/privacy)

### Development

The source code for this plugin is available on GitHub:
 [GitHub Repository](https://github.com/smallpdf/wordpress-plugin)

## Blocs

Cette extension fournit 1 bloc.

 *   Embed PDF with Smallpdf Insert a PDF viewer in your post and pages using Smallpdf's
   Embed PDF.

## Installation

#### From your WordPress Admin Dashboard (Recommended)

 1. Go to _Plugins_  _Add New Plugin_
 2. Search for _Embed PDF with Smallpdf_
 3. Click _Install_, then _Activate_

#### Manual installation

 1. Download the plugin as `.zip` file
 2. Unzip the downloaded archive
 3. Upload `embed-pdf-by-smallpdf` folder into your `/wp-content/plugins/` directory
 4. Go to _Plugins_  _Installed Plugins_
 5. _Activate_ Embed PDF with Smallpdf

## FAQ

### Can I embed multiple PDFs on the same page?

Yes, you can embed multiple PDFs on the same page using either the Gutenberg block
or the shortcode. Each block or shortcode will handle an individual PDF file.

### Can I adjust the dimensions of the embedded PDF viewer?

Yes, you can adjust the height of the embedded PDF viewer. In the Gutenberg block,
you can specify the height in the block’s sidebar settings. When using the shortcode,
add the height parameter with the desired value in pixels, e.g., `height='500'`.

### What types of PDF files can I embed?

You can embed any standard PDF file. Simply ensure that the URL you provide or the
file you upload is a valid PDF document.

### Can I use this plugin without an API key?

Yes, the Embed PDF with Smallpdf plugin does not require an API key to function.
You can embed PDFs without any additional setup

### Why does it say « Document unavaiable »?

The message `Document unavailable` typically means that the PDF is not reachable
or readable. To resolve this issue, please ensure that:

 * The URL points to a valid PDF file.
 * There are no typos in the URL.
 * Your internet connection is stable.

If the problem persists, verify that the PDF file is publicly accessible and not
restricted by permissions or behind a firewall.

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« Embed PDF with Smallpdf » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

 *   [ Smallpdf ](https://profiles.wordpress.org/smallpdf/)

[Traduisez « Embed PDF with Smallpdf » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/embed-pdf-by-smallpdf)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/embed-pdf-by-smallpdf/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/embed-pdf-by-smallpdf/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/embed-pdf-by-smallpdf/)
par [RSS](https://plugins.trac.wordpress.org/log/embed-pdf-by-smallpdf/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 1.0.0

 * Initial release of Embed PDF with Smallpdf

## Méta

 *  Version **1.0.1**
 *  Dernière mise à jour **il y a 1 an**
 *  Installations actives **Moins de 10**
 *  Version de WordPress ** 6.5 ou plus **
 *  Testé jusqu’à **6.7.5**
 *  Version de PHP ** 7.4 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/embed-pdf-by-smallpdf/)
 * Étiquettes
 * [document](https://fr.wordpress.org/plugins/tags/document/)[embed pdf](https://fr.wordpress.org/plugins/tags/embed-pdf/)
   [pdf](https://fr.wordpress.org/plugins/tags/pdf/)[pdf viewer](https://fr.wordpress.org/plugins/tags/pdf-viewer/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/embed-pdf-by-smallpdf/advanced/)

## Évaluations

Aucun avis n’a encore été envoyé.

[Your review](https://wordpress.org/support/plugin/embed-pdf-by-smallpdf/reviews/#new-post)

[Voir tous les avis](https://wordpress.org/support/plugin/embed-pdf-by-smallpdf/reviews/)

## Contributeurs

 *   [ Smallpdf ](https://profiles.wordpress.org/smallpdf/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/embed-pdf-by-smallpdf/)