[wpcourse course=”2″ module=”1″ module_desc=”true” /]
Shortcode parameters:
- course (Required) The ID of the course to show.
- show_title (Optional) If true, show the course title. (It can be true or false, by default, it’s false)
- show_desc (Optional) If true, show the course description. (It can be true or false, by default, it’s false)
- module (Optional) The number of the module to show from the specified course
- module_desc (Optional) If true, show the module descriptions. (It can be true or false, by default, it’s false)
Examples of shortcode:
- Example 1: [wpcourse course=”2″ /] – Shows course 2
- Example 2: [wpcourse course=”1″ module=”4″ module_desc=”true” /] – Shows module 4 from course 1, with module titles and descriptions, and unit titles.
- Example 3: [wpcourse course=”1″ module_desc=”true” show_title=”true” show_desc=”true” /] – Shows course 1, with course title, course description, module title, module description and unit titles.