Learnership Management System

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.

Pages: 1
Author Topic: Shortcode Options


AdministratorLearnershi-
p Tracking
Posts: 147
Permalink
Learnership Tracking
Shortcode Options
on: August 20, 2014, 15:18
Quote

Shortcode Options

You may use shortcodes to add information to any page/course/lesson/quiz. Here are built-in shortcodes for displaying relevant user information.

[ld_profile]

Displays user’s enrolled courses, course progress, quiz scores, and achieved certificates.

[ld_course_list]

This shortcode shows list of courses. You can use this short code on any page if you dont want to use the default /courses page. This short code can take following parameters:

    *num: limits the number of courses displayed. Example: [ld_course_list num="10"] shows 10 courses.
    *order: sets order of courses. Possible values: DESC, ASC. Example: [ld_course_list order="ASC"] shows courses in assending order.

    *orderby: sets what the list of ordered by. Example: [ld_course_list order="ASC" orderby="title"] shows courses in assending order by title.

    *tag: shows courses with mentioned tag. Example: [ld_course_list tag="math"] shows courses having tag math.

    *tag_id: shows courses with mentioned tag_id. Example: [ld_course_list tag_id="30"] shows courses having tag with tag_id 30.

    *cat: shows courses with mentioned category id. Example: [ld_course_list cat="10"] shows courses having category with category id 10.

    *category_name: shows courses with mentioned category slug. Example: [ld_course_list category_name="math"] shows courses having category slug math.

    *mycourses: show current user’s courses. Example: [ld_course_list mycourses="true"] shows courses the current user has access to.

*[ld_lesson_list]
This shortcode shows list of lessons. You can use this short code on any page. This short code can take following parameters: num, order, orderby, tag, tag_id, cat, category_name. See [ld_course_list] above details on using the shortcode parameters.

*[ld_quiz_list]
This shortcode shows list of quizzes. You can use this short code on any page. This short code can take following parameters: num, order, orderby, tag, tag_id, cat, category_name. See [ld_course_list] above details on using the shortcode parameters.

*[learndash_course_progress]
This shortcode displays users progress bar for the course in any course/lesson/quiz pages.

*[visitor]
This shortcode shows the content if the user is not enrolled in the course. Example usage: [visitor]Welcome Visitor![/visitor]

*[student]
This shortcode shows the content if the user is enrolled in the course. Example usage: [student]Welcome Student![/student]

*[user_groups]
This shortcode displays the list of groups users are assigned to as users or leaders.

*[learndash_payment_buttons]
This shortcode displays can show the payment buttons on any page. Example: [learndash_payment_buttons course_id="123"] shows the payment buttons for course with Course ID: 123

*[course_content]
This shortcode displays the Course Content table (course lessons, topics, and quizzes) when inserted on a page or post. Example: [course_content course_id="123"] shows the course content for course with Course ID: 123

Pages: 1
Mingle Forum by TRAINYOUCAN | HOSTED BY: MySimpleWebsite
Version: 1.0.34; Page loaded in: 0.007 seconds.