Site Stats Shortcodes


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:

  1. total : Displays total number of users in site
  2. courses : Displays total number of courses in site
  3. instructor : display total number of instructors in site
  4. groups : display total number of groups
  5. subscriptions : Total number of course subscriptions by all users
  6. sales : Total sales amount of courses
  7. commissions: total commission earned by instructors
  8. posts : Total number of blog posts published
  9. 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.