Shortcodes

1. Become a teacher

Shortcode:

[ learn_press_become_teacher_form]

Attribute :

  • title (text)
  • description (text)
  • submit_button_text (text)
  • submit_button_process_text (text)

This shortcode will show become a teacher form:

2. Purchase-Enroll course button

Shortcode :

[learn_press_button_course]

Attributes:

  • id : If you want to buy a specific course, you can add id of that course. if not, you don’t need to add id.
  • enroll_text : enroll text of button (free course)
  • purchase_text : purchase text button. (fee-based course)
  • btn_label : both free course and fee-based course.

This shortcode will show start now button:

3. Checkout page

Shortcode:

[learn_press_checkout]

 

This code will show checkout form:

4. Course Curriculum

Shortcode:

[learn_press_course_curriculum ]

 

Attribute:

  • id : If you want to show a specific course, you can add id of that course. if not, you don’t need to add id.

This shortcode will show the curriculum of the course:

5. Login form

Shortcode : 

[learn_press_login_form]

 

This shortcode will show login form:

6. Register form

Shortcode: 

[learn_press_register_form]

 

This shortcode will show register form:

7. Profile page

Shortcode : 

[learn_press_profile]

 

This shortcode will show profile page:

8. List Featured Courses

Shortcode :

[learn_press_featured_courses]

 

Attributes:

  • limit : the number of courses will show.
  • order_by : title , id …..
  • order : DESC or ASC

This shortcode will show list featured course:

9. List Recent Course

Shortcode : 

[learn_press_recent_courses]

 

Attributes:

  • limit : the number of courses will show.
  • order : DESC or ASC

This shortcode will show recent courses:

10. List popular course

Shortcode : 

[learn_press_popular_courses]

 

Attribute :

  • limit: the number of courses will show.

 

This shortcode will show list popular courses.

11. Filter Course

Shortcode : 

[learn_press_filter_course]

You can add this shortcode wherever you want. After adding the shortcode, it will show: