Following short-codes are available for displaying site stats :
Shortcode : vibe_site_stats
Parameters:
- total : Displays total number of users in site
- courses : Displays total number of courses in site
- instructor : display total number of instructors in site
- groups : display total number of groups
- subscriptions : Total number of course subscriptions by all users
- sales : Total sales amount of courses
- commissions: total commission earned by instructors
- posts : Total number of blog posts published
- comments : Total number of comments on the blog posts
Sample use :
[vibe_site_stats total=1 courses=1 instructor=1 groups=1 subscriptions=1 sales=1 commissions=1 posts=0 comments =0]
Output:
Sample use :
[vibe_site_stats total=1 courses=1 instructor=1]
Output :
To get only the number/value use the shortcode :
[vibe_site_stats members=1 number=1]
This will return the total "number" of members.
Important : The list created has class site_stats and the numbers are encapsulated in span tag for styling.