Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/colis/wp-live-stats/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
This plugin creates a React widget that shows stats about a site (number of posts, users, etc). The stats are getting updated in the widget once a minute via AJAX communicating over the REST API to a custom endpoint.
It exposes all the available stats through a custom REST API endpoint
/wp-json/wp-live-stats/v1/stats
Setup and installation
- Upload the "wp-live-stats" folder into the "/wp-content/plugins/" directory
- Activate the plugin through the "Plugins" menu in WordPress
Usage
This plugin provides two different WordPress views in which the React Widget can be rendered:
- Shortcode
[wp-live-stats] - WordPress Widget