WPOrg Stats
Display your WordPress.org Plugin stats on your website.
by Jamie Madden (https://github.com/digitalchild) · github.com/digitalchild/wporg-stats · website
★ 8stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/digitalchild/wporg-stats/archive/refs/heads/master.zipDeclares an update source (https://github.com/digitalchild/wporg-stats), so updates arrive through the plugin's own updater.
From the readme
WPOrg Stats ##
A simple WordPress plugin to display statistics from a WordPress.org plugin. The information is retrieved from https://api.wordpress.org/plugins/info/1.0/{your-slug}.json
Results are cached for 12 hours to ensure optimal loading times for the site.
Usage #
- Plugins
Show total downloads
[wppsshowplugininfo slug="wordpress-org-slug-here"]
Show any other info from the plugin that is available from the API.
[wppsshowplugininfo slug="wordpress-org-plugin-slug-here" info="see below" ]
This will show the stat that you define as per the json object returned from https://api.wordpress.org/plugins/info/1.0/{your-slug}.json
The following info are available.
name
slug
version
author
authorprofile
contributors
requires
tested
compatibility
rating
ratings (array of 1-5 rating counts)
numratings (total ratings count)
supportthreads (total support threads)
supportthreadsresolved ( total support threads resolved )
downloaded (total number of dowonloads)
lastupdated
added
homepage
sections
downloadlink
screenshots (array of screen shots with src and caption as sub keys of screenshot number )
tags (array of tags with tag slugs as keys)
ve