Skip to content

Course Tab Shortcodes

These three shortcodes render the content of the single course page tabs. They are used to compose the tabbed course layout and are meant to run in the context of a single course page, where the current course is known.

Shortcode Renders
[reign_ld_pro_course_content_tab_content] The course content and curriculum
[reign_ld_pro_instructor_tab_content] The instructor bio and details
[reign_ld_pro_comments_tab_content] The course comments and discussion

These shortcodes take no attributes. They are wired into the addon’s single course template automatically, so most sites never place them by hand. Use them only when you are building a custom single course layout and want to output a specific tab’s content in a particular place.

Because each one reads the current course from context, placing it outside a single course page produces no useful output.