Beskrivning
FHDCU Dynamic Counter Update is a simple yet powerful WordPress plugin designed to dynamically display a counter that updates itself every minute. The counter value is incremented by a random number (between 8 and 9) and saved to the database. You can easily display the counter anywhere on your site using a shortcode, and manually manage its value via an intuitive settings page in the WordPress admin.
Key Features:
- Dynamic Updates: The counter automatically increases by a random value every minute.
- Easy Integration: Use the
[fhdcu_dynamic_counter]shortcode to display the counter on any page or post. - Manual Reset: Set or reset the counter value via the admin settings page.
- Customizable Cron Job: Runs on a lightweight, custom one-minute cron schedule.
- Frontend Styling: Includes default CSS and JavaScript for seamless integration.
Usage
To display the counter, simply add the following shortcode to a page or post:
[fhdcu_dynamic_counter]
The counter will dynamically update its value every minute.
License
This plugin is licensed under the GPL v3 or later. For more information, visit the official license page:
https://www.gnu.org/licenses/gpl-3.0.html
Installation
- Upload the
dynamic-counter-updatefolder to the/wp-content/plugins/directory, or install the plugin through the WordPress Plugins screen. - Activate the plugin through the ’Plugins’ screen in WordPress.
- Add the
[fhdcu_dynamic_counter]shortcode to any page or post where you want to display the counter. - Access Counter Settings from the WordPress admin menu to manually update or reset the counter value.
Vanliga frågor
-
How do I display the counter?
-
Use the
[fhdcu_dynamic_counter]shortcode in any page or post editor. -
Can I customize the starting value of the counter?
-
Yes, you can manually set a custom value from the Counter Settings page in the WordPress admin.
-
What happens when I deactivate the plugin?
-
The scheduled event that increments the counter is automatically cleared, and the counter will stop updating until the plugin is reactivated.
-
Can I style the counter?
-
Yes, the plugin includes default CSS and JavaScript for styling, which can be overridden by adding custom styles in your theme or plugin.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”FHDCU Dynamic Counter Update” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”FHDCU Dynamic Counter Update” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.0
-
Initial version.
-
Initial release:
- Automatic counter increment every minute.
- Admin settings page for manual counter management.
- Shortcode
[fhdcu_dynamic_counter]for displaying the counter. - Customizable cron schedule for lightweight performance.
1.1
- Fixed some issues and ensured compatibility with the latest WordPress version.


