download-counter

Replicates the WordPress.org Download Counter

Stars
5

WordPress dot org Plugin Download Counter

Follow me

Website Twitter

Overview

This script is a replica of the WordPress.org download counter. I created it just for fun to monitor the plugin download progress on my other monitor. When ever someone downloads the plugin, the counter updates.

The script can be forked and changed to any plugin on the WordPress.org repository.

The script is currently set to my Auto Load Next Post plugin.

Variables

Two variables are all that are required to change for your own plugin download counter.

Plugin slug: $plugin_slug = 'auto-load-next-post'

Plugin name: $plugin_name = 'Auto Load Next Post'

The plugin slug needs to be changed in both the index.php and dl-counter.php files.

That's it!

Requirements

To use this script you will need:

  • PHP

Installation

  1. Download a .zip file with the latest version.
  2. Open the files to change the variables for your own plugin and save.
  3. Open either your FTP or File Manager to your web host.
  4. Locate where you want to have the script under your domain. I put mine under https://autoloadnextpost.com/download/counter/
  5. Upload the script to your chosen location.

That's it!

Contribute

If you or your company use this script for yourself or appreciate the work Im doing in open source, please consider supporting me directly so I can continue maintaining it.

You'll be helping to ensure I can spend the time not just fixing bugs, but keeping the project afloat. Any contribution you make is a big help and is greatly appreciated.

Please also consider starring and sharing the repo! This helps the project getting known and grow with the community.

If you want to do a one-time donation, you can donate to:

License

This script is released under GNU General Public License v3.0.

Credits

This script is developed and maintained by Sbastien Dumont.