Use the [elc_ssc_show] shortcode to select, format, and display specific data fields from a verified certificate record. It is designed to be nested within the [elc_ssc_front_search] container, allowing you to build a custom results display piece by piece.
Required Parameter: show #
The show parameter is mandatory and dictates which piece of certificate data will be displayed. Each value corresponds to a specific field in the certificate record.
| Value | Description | Example Shortcode |
|---|---|---|
post_title | Displays the title of the quiz, course, or group for which the certificate was issued. | [elc_ssc_show show="post_title"] |
course_title | Displays the title of the course associated with the quiz. Note: Renders only if the certificate is for a quiz. | [elc_ssc_show show="course_title"] |
completion_date | Displays the formatted completion date. Format is controlled by the datetime_format parameter in the parent shortcode. | [elc_ssc_show show="completion_date"] |
expiry_date | Displays the formatted expiry date. Format is controlled by the datetime_format parameter in the parent shortcode. | [elc_ssc_show show="expiry_date"] |
usermeta | Displays the user’s first or last name. Requires the field parameter. | [elc_ssc_show show="usermeta" field="first_name"] |
When using show="usermeta", you must include the additional field parameter with a value of either "first_name" or "last_name".
Optional Parameter: label #
The optional label parameter provides powerful control over the descriptive text that precedes the data value. It has three distinct behaviors.
- Label Omitted If the
labelparameter is not included, the shortcode outputs only the raw data value.- Example:
[elc_ssc_show show="post_title"]
- Example:
- Label Included (No Value) If you include the
labelparameter without assigning it a value, the plugin displays its own default label for that field.- Example:
[elc_ssc_show show="post_title" label]
- Example:
- Label Included (With Custom Value) If you assign a specific string value to the
labelparameter, your custom text completely overrides the default label.- Example:
[elc_ssc_show show="post_title" label="QUIZ"]
- Example:
Now that we have covered the core building blocks, let’s see how they work together in a practical, real-world example.