Warning: Undefined array key "instructor" in /home/wplmsio/public_html/support/wp-content/plugins/wplms_plugin/includes/vibe-shortcodes/shortcodes.php on line 4491
Warning: Undefined array key "instructor" in /home/wplmsio/public_html/support/wp-content/plugins/wplms_plugin/includes/vibe-shortcodes/shortcodes.php on line 4491
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 :
- MEMBERS32038
- INSTRUCTORS4
Output:
Sample use :
- MEMBERS32038
- INSTRUCTORS4
Output :
To get only the number/value use the shortcode :
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.