Shortcodes
You can use some elements from MasterStudy LMS with other themes simply using shortcodes on any page and post.
There is a list of special shortcodes that you can use to paste some elements and options into your website such as courses carousel, course categories, featured instructors, and much more.
Below you can find the list of shortcodes with all available parameters and examples.
1.Search box: shows courses search box: [stm_courses_searchbox]
Parameters available: style - style_1/style_2
Example:
2. Courses Carousel: shows the courses carousel: [stm_lms_courses_carousel]
Settings available:
title (enter the module title)
title_color (change the color of the title, example #fafafa)
query (sorting options - none/popular/free/rating; set by default as "none")
prev_next (enable/disable Previous/Next buttons; set by default as “enable”)
remove_border (enable/disable border removing; set by default "disable")
show_categories (enable/disable display of categories; set by default as "disable")
pagination (disable or enable paginations, set by default as "disable")
per_row (specify the number of courses per row; by default — 6)
taxonomy (term ID of stm_lms_course_taxonomy taxonomy, only if show_categories is "enable". example "233,255,321")
Example:
3. Courses Categories: shows the courses categories [stm_lms_courses_categories]
Settings available: style - style_1/style_2/style_3/style_4
taxonomy (term ID of stm_lms_course_taxonomy — taxonomy; example "233,255,321")
Example:
4. Courses Grid: show the courses grid: [stm_lms_courses_grid]
Settings available:
hide_top_bar (shows the top bar - hidden/showing; by default — "showing")
title (module title)
hide_load_more (hide/show the button Load More - hidden/showing, by default — "showing")
hide_sort (hide/show sorting option - hidden/showing; by default — "showing")
per_row (the number of Courses Per Row; by default 6)
image_size (sets the image size - thumbnail/medium/large)
posts_per_page (number of courses to show on the page)
Example:
Follow to Settings > Media from your dashboard panel to set the sizes for thumbnail/medium/large.
5. Featured Teacher: shows Featured Teacher: [stm_lms_featured_teacher]
Settings available:
instructor (Instructor ID)
position (Instructor Position)
bio (Instructor Bio)
image (enter image ID)
Example:
6. Instructors Carousel: shows the Instructors carousel: [stm_lms_instructors_carousel]
Settings available:
title (module title)
title_color (changes the color of the title)
per_row (number of Instructors per row; by default 6)
per_row_md (number of Instructors per row on Notebook; by default 4)
per_row_sm (number of Instructors per row on Tablet; by default 2)
per_row_xs (number of Instructors per row on Mobile; by default 1)
style (change the display style - style_1/style_2; by default "style_1")
sort (shows the option Sort By - default/rating)
prev_next (Enable/Disable Previous and Next Buttons; by default "enable")
pagination (Enable/Disable Previous and Next Buttons, by default "disable")
Example:
7. Recent Courses: shows Recent courses: [stm_lms_recent_courses]
Settings available:
posts_per_page (Number of courses to show on the page)
image_size (sets the image size - thumbnail/large/medium)
per_row (the number of courses per row)
style (changes display style - style_1/style_2; by default "style_1")
Example:
8. Single Course Carousel: shows the carousel with a single course: [stm_lms_single_course_carousel]
Settings available:
query (Sorting options - none/popular/free/rating, by default "none")
prev_next (Enable/Disable Previous and Next Buttons; by default "enable")
pagination (Enable/Disable pagination; by default "disable")
taxonomy (term ID of stm_lms_course_taxonomy taxonomy, example "233,255,321")
Example:
For Pro version of the plugin
9. Certificate checker: enables the certificate checker: [stm_lms_certificate_checker]
Settings available:
title (module title)
Example:
10. Course Bundles: enables course bundles option: [stm_lms_course_bundles]
Settings available:
title (module title)
columns (number of columns - 2/3; by default 3)
posts_per_page (number of posts per page)
Example:
11. Google Classrooms grid view: shows the grid view of Google classrooms: [stm_lms_google_classroom]
Settings available:
title (module title)
number (number of posts on the page)
Example:
Last updated