Linux 软件免费装
Banner图

Quick Download Button

开发者 kusimo
更新时间 2026年3月20日 23:35
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.7
版权: GPLv2 or later
版权网址: 版权信息

标签

gutenberg block access control download button countdown timer file download

下载

1.2.2 1.0.5 1.0.6 1.0.8 1.0.7 1.0.9 1.2.0 1.2.1 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.3.0

详情介绍:

Quick Download Button lets you add professional download buttons anywhere on your WordPress site with minimal effort. Whether you are sharing PDFs, music, software, videos, or archives, every aspect of the button — style, colour, icon, countdown, and access rules — is controlled from a clean settings panel or a single shortcode. Seven button styles Countdown timer and popup modal Set a wait time in seconds before the download starts. During the countdown an animated spinner and optional message keep the visitor informed. Add a popup modal to display any content while the countdown runs — AdSense, banner ads, custom HTML, shortcodes, or any other embed code. You control whether the visitor can dismiss the popup early or whether it stays until the download fires automatically. Full feature list Supported file types for automatic icon display: pdf, mp3, mov, zip, txt, doc, xml, mp4, ppt, htm, html, ps, tex, csv, xlsx, pptx, js, css, php, and common images (png, gif, jpg, jpeg, bmp). Developer-friendly The plugin exposes several action and filter hooks so add-on plugins can extend it without editing core files:

安装:

  1. Upload the quick-download-button folder to /wp-content/plugins/.
  2. Activate Quick Download Button through the Plugins menu in WordPress.
  3. Add a download button using the Gutenberg block or the [quick_download_button] shortcode.

屏幕截图:

  • Small, Mid, and Basic button styles.
  • New Pill, Card, and Ghost button styles.
  • Countdown timer with loading spinner.
  • Popup modal during countdown — showing custom content.
  • Gutenberg block settings panel — Countdown & Popup section.
  • Gutenberg block settings panel — Button Icon and colours section.
  • Button Row block with multiple buttons in a horizontal layout.

升级注意事项:

1.3.0 Major feature release. Three new button styles, popup modal with countdown, button row layout, manual file size, icon picker, and several CSS fixes. No breaking changes for existing buttons. 1.2.7 Fixes a fatal error on download when using the Gutenberg block with internally hosted files. Recommended for all users.

常见问题:

Can this plugin protect / hide download links?

Yes. When a file is hosted in your WordPress uploads folder, the plugin stores the attachment ID rather than the URL. The real file URL is never printed in the page source. Downloads pass through a server-side check before the file is served.

Does the countdown popup work with Google AdSense?

Yes. Paste your AdSense or any other ad embed code as the shortcode content or enter it in the Popup Content textarea in the Gutenberg block. The plugin renders the content inside a modal overlay while the countdown runs. When the timer reaches zero the download fires and the popup closes automatically.

Can I stop visitors from closing the popup early?

Yes. Set popup_closable="0" in the shortcode or toggle Allow user to close popup off in the block settings. When disabled, the close button, overlay click, and Escape key are all inactive. The popup disappears only when the countdown ends.

What happens when the timer finishes?

The download opens automatically (in the same tab or a new one, depending on your setting), the loading indicator is removed, and the popup modal (if active) closes. No action is required from the visitor.

Does it work with the Classic Editor?

Yes. Use the [quick_download_button] shortcode in the Classic Editor or any text/HTML widget.

Can I display the file size for an external URL?

Yes. Enter the file size manually using the file_size attribute or the Manual file size field in the block editor. Auto-detection only works for files stored in the WordPress uploads folder.

Can I group multiple buttons in one row?

Yes. Use the Button Row block in Gutenberg (add it, then add Download Button blocks inside it), or wrap shortcodes in [quick_download_button_group].

Can I restrict who can download the file?

Yes. Use user_must_be="loggedin" to require login, or user_must_be="subscriber" (or any role slug) to require a specific role. Visitors who do not meet the requirement see a configurable error message.

Does loading the plugin slow down every page?

No. The plugin's CSS and JavaScript only load on pages that actually contain a download button (block or shortcode). All other pages are unaffected.

How do I hide the file size in the Gutenberg block?

Toggle the Show file size option off in the block settings sidebar. In the shortcode, simply omit the file_size attribute.

Can I use my own SVG icon?

Yes. Both the download icon and the file size icon support custom SVG. In the shortcode use custom_file_type_icon or custom_file_size_icon. In the block editor use the Custom SVG textarea in the icon picker panel.

更新日志:

1.3.0 - March 2025 1.2.7 - March 2025 1.2.6 - November 2023 1.2.5 - April 2023 1.2.4 - March 2023 1.2.3 - August 2022 1.2.0 - August 2022 1.0.9 - August 2022 1.0.8 - August 2022 1.0.5 - July 2022