WP-Live-Stats
This plugin creates a frontend widget that shows stats about a site.
by Carmine Colicino · github.com/colis/wp-live-stats · website
★ 0stars
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/colis/wp-live-stats/archive/refs/heads/master.zipReadme
WP Live Stats
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