How to use the overall user progress shortcode

To create a post or page with the course progress shortcode:

  1. Create a page or post by navigating to Posts-->Add New for a post or Pages-->Add New for a page
  2. Give your page or post a title
  3. Insert the course outline shortcode [wpcourse_progress]

Shortcode parameters:

  • courses - (Optional) A comma-separated list of course IDs to show in the progress. If this is not specified, then all courses that the user is signed up to will be shown.
  • user_progress - (Optional) If true, then show a progress bar of the user's current progress for each course they are signed up to. (It can be true or false. By default, it's true).
  • user_grade - (Optional) If true, then show the user's average grade so far for each course they are signed up to. (It can be true or false. By default, it's true).

Shortcode examples:

Here are some examples of how [wpcourse_progress] shortcode works:
  • Example 1: [wpcourse_progress /] - All default values for courses, user_progress and user_grade will be set since not specified to false.
  • Example 2: [wpcourse_progress user_progress="false" user_grade="true" /] - Shows all courses a user is signed up to and their cumulative grade so far for each course, but the progress bar for each course is hidden.
  • Example 3: [wpcourse_progress user_progress="false" user_grade="false" /] - Shows all courses a user is signed up to, but their progress and cumulative grades for each course are hidden.
  • Example 4: [wpcourse_progress courses="1,2" user_progress="true" user_grade="true" /] Only shows courses with IDs of 1 and 2 if the user is enrolled to them. If the user is not enrolled in any of those courses, then that course is not shown. Their progress and cumulative grade so far for each course is also shown.

Here is a video tutorial on how to use the overall user progress shortcode.

For more videos visit http://www.youtube.com/flyplugins

Still need help? Contact Us Contact Us