Description
NinjaWeb Widgets – PDF Card adds a custom Elementor widget that displays a PDF as a styled card.
Instead of showing a plain text link, the widget uses the PDF’s first page preview image when WordPress can generate one, then adds a title and button to open the file.
Perfect for newsletters, brochures, reports, guides, forms, and other downloadable documents.
Features
- Custom Elementor PDF Card widget
- Displays the first page of a PDF as a preview image when available
- Select PDFs directly from the WordPress Media Library
- Optional custom title
- Customisable button text
- Open PDF in new tab option
- Styling controls for colours, typography, spacing, border radius, and image height
- Responsive and lightweight
Installation
- Upload the plugin files to the
/wp-content/plugins/ninjaweb-widgets-pdf-card/directory, or install the plugin through the WordPress plugins screen. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Make sure Elementor is installed and active.
- Edit a page with Elementor and search for “PDF Card”.
- Add the widget to your page, select a PDF, and customise the styling.
FAQ
-
Why is my PDF preview not showing?
-
PDF preview generation relies on your server configuration. In many hosting environments this requires the Imagick PHP extension and, in some cases, Ghostscript.
-
Will the plugin still work without previews?
-
Yes. If a preview image is not available, the widget shows a fallback placeholder instead.
-
Does this work with Elementor Free?
-
Yes. The widget works with Elementor Free and Elementor Pro.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“NinjaWeb Widgets – PDF Card” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “NinjaWeb Widgets – PDF Card” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.3.0
- Renamed the main plugin file to match the plugin slug
- Corrected the contributor username
- Included the widget class file in the final plugin package
- Improved Elementor loading checks
- Kept styling controls for the PDF card widget
1.3.1
- Removed invalid Plugin URI header while keeping Author URI.
1.3.2
- Minor readme update and plugin directory maintenance.
1.3.3
- Added capability to upload multiple PDF’s and display them in one Widget.
