NinjaWeb Widgets – PDF Card

外掛說明

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

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/ninjaweb-widgets-pdf-card/ directory, or install the plugin through the WordPress plugins screen.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Make sure Elementor is installed and active.
  4. Edit a page with Elementor and search for “PDF Card”.
  5. 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.