Learn how to modify the plugins behavior and make it work like you need.
Explore how to user and register new custom dynamic smart tags in PDF Viewer using the provided API and code snippets.
Usage tracking is essential for our team to continuously improve our services and provide you with the best possible experience. It helps us identify and fix issues, optimize features, and enhance overall performance based on real-world usage. In this article, we’ve shared the details that PDF Embedder collects through usage tracking. PDF Embedder WordPress Web…
If you want to change the icons for the buttons, you would need to upload new images and point the CSS to those images. The icons are located in the /img/ directory of the plugin and the CSS to call those images:
To include the attachment page of your embedded PDFs in the search results, add a small PHP snippet to your theme’s functions.php file (if using a child theme or theme that has option to add custom functions without altering the original theme code), or add the snippet to a custom code plugin such as My Custom…
The PDF Embedder plugin has a translation template file located in the /lang/ folder within the plugin directory. You can use the pdf-embedder.pot to translate the plugin to another language. You will want to use a program such as POEdit (free) to open the template file (pdf-embedder.pot) and create your translation. You will save your translated file…
When using a theme that has a module based layout builder such as Elementor, WPBakery, DIVI Builder, Beaver Builder, etc. the regular embed method will result in the PDF appearing as a link instead of the expected embedded viewer. Most of these drag and drop editors use their own propriety method to access the Media…
Note: this code will only work with the Premium versions of the plugin and only with files served from the /wp-content/uploads/ directory on your server. You will need to write a bit of PHP for this feature. The code can be added to a custom or child theme’s functions.php file or by using a plugin…
The PDF Embedder plugin v.4.0 for the free, Premium, and Secure versions work with WordPress v.5.0 and Gutenberg Editor plugin v.4.6.1. Open the Common Blocks menu and select the PDF Embedder: An element will be inserted into the page / post content. Click on the generated link to navigate to the Media Library: Select or…
With a little bit of HTML / CSS you can accomplish this. You will likely want to set a default max-width in the plugin settings or you can use the width attribute to the shortcode to limit the viewer width on specific embeds – I mention it just for future reference in case you want…
PDF Embedder doesn’t provide a way to accept payment from users before they are allowed to view a PDF, but PDF Embedder Secure can be used in conjunction with other plugins to ensure PDFs are not available until users have paid to access them. Pay before downloading You don’t really need any of our plugins…
There is no option to automatically open up in full screen mode. The best alternative is to create a ‘full page’ template in your theme that doesn’t have many of the features of most pages (e.g. header menu and sidebars) and allows the content to take up most of the width of the page.
Generally, you will use the plugin to embed a PDF in a WordPress page through the ‘Add Media’ button in the page editor, selecting the PDF you want in the page. You can add further content above and below the PDF, but sometimes you just want a basic page template to show only the PDF.…