Download Timer Buttons

描述

This plugin adds timed download buttons to your posts, allowing users to create custom download buttons with timers that automatically redirect between steps. Perfect for download-centric sites that require time-based access to download links.

Features:

– Create download buttons with timers.
– Automatically redirect users after the timer completes.
– Customize button text and download links.
– Use shortcodes to place buttons anywhere in your posts or pages.

屏幕截图

  • Example of a download button with a timer in a post.
  • Customization settings in the plugin’s admin panel.

安装

  1. Upload the download-timer-buttons folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Use shortcodes to insert buttons:
    [bottom_button] – Adds a button at the bottom of your content.
    [top_button] – Adds a button at the top of your content.
    [middle_button link="your-link"] – Adds a button in the middle with a customizable link.

常见问题

How do I set different links for each post?

Use the middle_button shortcode with a link attribute: [middle_button link="https://example.com"].

Can I customize the timer duration?

Currently, the timer duration is set in the JavaScript file, but future versions will support custom durations via shortcode attributes.

评价

2024 年 10 月 25 日
I recently installed the “Download Timer Buttons” plugin, and I must say, it exceeded my expectations! The advanced timer functionality with redirection is a game-changer. but but it would be even more powerful with an option to change or adjust the timer duration on the fly, even after the button has been set up.
阅读所有1条评价

贡献者及开发者

「Download Timer Buttons」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.3

  • Updated function names to ensure uniqueness and prevent conflicts across themes and plugins.
  • Added prefix (dtb_) to all functions for better namespace management.
  • Ensured compliance with WordPress plugin guidelines.
  • Improved code organization and readability for easier maintenance.

1.2

  • Added multiple button shortcode support.
  • Improved JavaScript timer control.

1.0

  • Initial release.