Описание
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
Установка
- 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.
Часто задаваемые вопросы
-
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.
Отзывы
Нет отзывов об этом плагине.
Участники и разработчики
«NinjaWeb Widgets — PDF Card» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «NinjaWeb Widgets — PDF Card» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
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.
