In this document, we will show the uses of the Academy LMS Course Grid Shortcode.
Courses #
You can use a shortcode to show the course grid anywhere:
Shortcode: [academy_courses]
You can also show your specific course. here is example
Basic Example #
[academy_courses ids="12,25" exclude_ids="14,23" category="5,7" orderby="ID" order="desc" count="3" column_per_row='3']
Advanced Example #
[academy_courses ids="6,7,8" exclude_ids="2,4,5" category="18,19" cat_not_in="19,36" course_level="beginner,intermediate,experts" price_type="free,paid" tag="3,5,7" tag_not_in="5,7" orderby="title/date/modified" order="ASC/DESC" count="6" column_per_row="2/3/4/6/12" ]
Advanced Options #
The following attributes can be used to query:
- ids – course ids. You can find these ids in course edit page
- exclude_ids – Don’t want to show post with this Course ids. You can find these ids in course edit page.
- category – Show’s course from these category. You can find category from category list
- cat_not_in – remove course from these category. You can find category from category list
- course_level – Course Difficulty Level. Can be any of the option and can be combined.
- price_type – Course Price ( free, paid ). Can be combined.
- tag – Show’s course from these tag. You can find tag from tag list
- tag_not_in – remove course from these tag. You can find tag from tag list
- orderby – course list can be ordered using any one of these ( title/date/modified )
- order – Order post ascending or decending order.
- count – Specify number of course to be show.
- column_per_row – Number of columns. Can be any one of these 2/3/4/6/12.
- has_pagination=’true’ – Add pagination to your course grid.
Gutenberg Example #
[academy_courses]
Elementor Page Builder Example #
[academy_courses]