WP Manifestindependent plugin directory
manifest / analytics / wp-live-stats

WP-Live-Stats

This plugin creates a frontend widget that shows stats about a site.

★ 0stars

Install

Download source zip No release zip yet

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.zip
No 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

  1. Upload the "wp-live-stats" folder into the "/wp-content/plugins/" directory
  2. 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