# Shortcodes

### **VibeBP**

#### **\[vibebp\_login]**

Displays login panel. \[vibebp*login  button="1" class="button"]Login trigger\[/login] this will show a button with class button and on click of it shows the login popup. using used plain \[vibebp\_*&#x6C;ogin] the login form is embedded on page

**\[vibebp\_profile]**

This embeds the profile area on the page. No parameters. Requires vibebp\_login shortcode to be used before this is invoked.

**\[vibebp\_carousel]**

The new carousel used in various places of the theme. Used by Gutenberg and Elementor elements. This is a complex shortcode, we recommend using the Generators for using it.

**\[vibebp\_registration\_form]**

The registration form shortcode. Available at WP admin - Vibebp - Settings - Registration forms.

**\[vibebp\_member\_type\_count]**

Count type of members. Params member\_type , **\[vibebp\_member\_type*****count member\_*****type="student"] ,** count the students type of members on site.

**\[vicon]**

The shortcode to display icon from the vicon set. \[vicon vicon="XXX" size="24" color="red"] . Accepts parameters , vicon , size and color. Pick vicon from the list.

**\[profile\_field]**

Display a member profile field. When used in profile layout will display information about the current member. \[profile\_*field id="xx"] or \[profile\_field name="xx"] you can pass profile field ID or name value to display.*

***\[*****group\_field]**

Group fields created in WP admin - Vibebp - Settings - BuddyPress - Groups can be displayed on Group layouts. Usage : \[group\_*field field\_*&#x6E;ame="XX"] .

### WPLMS Plugin&#x20;

1. **\[mygamification\_badges*****]** : Displays gamification badges of current user. Can be used in profile layout or \[*&#x6D;ygamification\_badges *user*id="XX"] user ID can be passed for custom user's badges. Requires Gamification feature to be active.
2. **\[course\_codes]** : Embed Course code and direct enrol into course feature via course code.
3. **\[user\_*****reviews]** : Displays reviews posted by a user or for an instructor. Can be embedded on Profile layout. \[user\_reviews user\_*&#x74;ype="instructor"] to show instructors reviews on profile. Accepts style attribute as "grid" or "carousel"  *\[user\_reviews user\_*&#x74;ype="instructor" style="carousel"]
4. \[**course\_info info="title"]** Display course information on course layout. Used in Gutenberg and Elementor. \[  possible values for info : title , excerpt, description, average\_rating, average\_rating\_count, review\_count,student\_count, last\_update,instructor\_name,course\_duration,course-cat,curriculum\_item\_count,cumulative-time,pre-required-courses,certificate,badge ]
5. **\[course\_featured]** Show featured image of course
6. **\[course\_button]** Displays course button on page. Can be used in Course layout to detect current course. Also access ID for specific course.
7. **\[countdown\_timer]** : Show a count down timer. Pass end Date, \[countdown\_timer date="22-08-2022"]
8. **\[number\_counter min="0" max="100" increment="5"]** : Automatic number counter, triggers from min to max with increment value.
9. **\[allbadges]** Show all badges earned by user
10. **\[instructor id="X"]** Display an Instructor of id X ( get id from WP admin - users ]
11. **\[course id="x" featured\_block="x"]** display a course, enter featured block from course1 to course10 for display cards.
12. **\[sell\_*****content product\_id="x"] Content hidden \[/sell\_*****content]** : This shortcode hides the content and displays to users who have purchased the Product.
13. **\[show\_certificates]** : Shows all the certificates on student's profile as gallery

### Certificate Shortcodes

These shortcodes are to be used on certificate templates.

\[certificate\_student\_name] : Displays Student name on certificate

\[certificate\_student\_photo] : Displays Student photo on certificate

\[certificate\_student\_email] : Displays email of Student&#x20;

\[certificate\_course] : Displays course name

\[certificate\_student\_marks] : Shows student's score/. marks on certificate

\[certificate\_student\_field field="XYZ"]  : Display any custom field information from the student's profile on certificate.

\[certificate\_student\_date] : The date on whcih student recieved the certificate

\[course\_completion\_date] : The date on which the course was completed.&#x20;

\[certificate\_expiry\_date days="34"]  :  Adds Days to completion date and shows as Certificate expires

\[certificate\_code] : Displays a unique certificate code for validation

\[certificate\_course\_field field="Name"] : Shows any custom course field value

\[certificate\_course\_duration] : Displays Total duration of course


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wplms.io/instructor-guide/shortcodes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
