Plugin Downloads Display
Plugin Downloads Display
Description
A plugin that allows you to display the number of times a plugin has been downloaded. Can either be displayed in posts with a shortcode or in templates using a function.
Shortcode: [show_downloads slug="slug-of-plugin"].
Function: <?php plugin_downloads("slug-of-plugin"); ?>
Credit Harish Chouhan Tuts+ for original code.
Installation
- Upload
plugin-download-displayfolder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Use shortcode
[show_downloads slug="slug-of-plugin"]in posts/pages - Use function
<?php plugin_downloads('slug-of-plugin'); ?>in templates
Reviews
Changelog
1.0
- First edition