# Shortcodes

{% embed url="<https://www.youtube.com/watch?t=1466s&v=BJlw10yJBv0>" %}

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.

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FpRsiIyeUkpxQJBt6oZg9%2Fimage.png?alt=media&#x26;token=ebfd7ae6-0084-47a9-ae82-5e76daf59807" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can also use ready-to-use [**LMS Widgets**](https://docs.stylemixthemes.com/masterstudy-theme-documentation/lms-settings/broken-reference) for **Elementor** and **WP Bakery**, and [blocks for Gutenberg](https://docs.stylemixthemes.com/masterstudy-theme-documentation/lms-settings/broken-reference) to **design** your platform **easily**.
{% endhint %}

Below is 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**:

```
[stm_courses_searchbox style="style_1"]
```

{% tabs %}
{% tab title="Style 1" %}

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FxwcMcsMUyvfc8vuyMkd5%2Fimage.png?alt=media&#x26;token=4b4c6afa-b60b-461e-844c-3af1b3145112" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Style 2" %}

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FjRuvjBIhRRzP3NJVYgQe%2Fimage.png?alt=media&#x26;token=66c978ef-d6d0-4ad8-b5b7-bee3e5cbfc32" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

**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:**

```
[stm_lms_courses_carousel title="Sample Title" title_color="#000000 
query="free" prev_next="disable" remove_border="enable" pagination="enable"]
```

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FxKy9SHs4CpUhPDO73N0h%2Fimage.png?alt=media&#x26;token=f6834e1e-4352-4028-988b-92533eb87f62" alt=""><figcaption></figcaption></figure>

**3. Courses Categories:** shows the [courses categories](https://docs.stylemixthemes.com/masterstudy-theme-documentation/lms-settings/broken-reference) \[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**:

```
[stm_lms_courses_categories style="style_1" taxonomy=”23,56”]
```

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FCGCcQt5n6jqfmwufX44F%2Fimage.png?alt=media&#x26;token=e1f691b7-6eaa-4d64-b59c-d9362e423bfa" alt=""><figcaption></figcaption></figure>

**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:**

```
[stm_lms_courses_grid title="Sample Title" hide_top_bar="hidden" 
hide_load_more="showing" per_row="3" posts_per_page="6" hide_sort="hidden" image_size="medium]
```

Follow **Settings > Media** from your dashboard panel to set the sizes for thumbnail/medium/large.

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FEWItj3cBT5bxjl4Sg97D%2Fimage.png?alt=media&#x26;token=4e645aa0-ac37-4cad-b65a-425ddb097969" alt=""><figcaption></figcaption></figure>

**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:**

```
[stm_lms_featured_teacher instructor="5" position=“Sample Position” 
bio="Sample Bio" image="1150"]
```

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FNiIsO7aQdCwmSNhAfd3t%2Fimage.png?alt=media&#x26;token=333b9554-725e-4ad1-a709-f2605456ba05" alt=""><figcaption></figcaption></figure>

**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")

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FlTojhYCOkQFwlpKleynV%2Fimage.png?alt=media&#x26;token=d99c678e-6d4b-4130-8c37-1f560af6bbf2" alt=""><figcaption></figcaption></figure>

Example:

```
[stm_lms_instructors_carousel title="Sample Title" title_color="#000000" 
style="style_1" sort="rating" per_row_md="3" per_row_sm="1" pagination="enable"]
```

**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:**

```
[stm_lms_recent_courses posts_per_page="5" image_size="large" per_row="3" 
style="style_2]
```

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FWMG6OgLVNPnoyXPTlYrd%2Fimage.png?alt=media&#x26;token=d0a9b37a-0922-4ad4-b2f4-a1457f070bdd" alt=""><figcaption></figcaption></figure>

**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:**

```
[stm_lms_single_course_carousel query="free" taxonomy=”23,56” 
pagination="enable" prev_next="enable"]
```

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FMvcI0lSZiOvbtbzqDDXn%2Fimage.png?alt=media&#x26;token=e20a73bc-0103-467e-9b3b-5d91020ee1ef" alt=""><figcaption></figcaption></figure>

## For Pro version of the plugin <a href="#shortcodes-forproversionoftheplugin" id="shortcodes-forproversionoftheplugin"></a>

**9. Certificate checker:** enables the[ certificate checker](https://docs.stylemixthemes.com/masterstudy-theme-documentation/lms-settings/broken-reference): \[stm\_lms\_certificate\_checker]

Settings available:

* title (module title)

**Example:**

```
[stm_lms_certificate_checker title="Certificate Verification"]
```

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FKMfWxAQfSbeqWcURqMUS%2Fimage.png?alt=media&#x26;token=b862a0b0-c89e-4015-8f9c-cfaf323f5728" alt=""><figcaption></figcaption></figure>

**10. Course Bundles:** enables [course bundles](https://docs.stylemixthemes.com/masterstudy-theme-documentation/lms-settings/broken-reference) 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:**

```
[stm_lms_course_bundles title="My Bundles" columns="2" posts_per_page="2"]
```

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FpK1LrrHjdcYtreB8BjUw%2Fimage.png?alt=media&#x26;token=4581cc9a-5a8c-48e9-8cee-d30ff67fcd19" alt=""><figcaption></figcaption></figure>

**11. Google Classrooms grid view:** shows the grid view of [Google classrooms](https://docs.stylemixthemes.com/masterstudy-theme-documentation/lms-settings/broken-reference): \[stm\_lms\_google\_classroom]

Settings available:

* title (module title)
* number (number of posts on the page)

**Example:**

```
[stm_lms_google_classroom title="Sample Title" number="6"]
```

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FzUqUzPdLkXAdACmqbRg1%2Fimage.png?alt=media&#x26;token=48ec93d1-6237-40bb-8c37-f584c1042bee" alt=""><figcaption></figcaption></figure>
