Shortcodes

[wlt-awards]

The following shortcode is only available in the Pro Plus version.

The [wlt-awards] shortcode renders awards and their badges (if applicable) that the user has achieved. Read more about Awards.

The shortcode supports the following arguments:

Argument Description Options Example
css-class Specify an additional CSS class for the gallery frame. String (empty by default) [wlt-awards css-class="a-css-class"]
height Allows you to specify the maximum height of the gallery. Number (default: 800). [wlt-awards height="400"]
limit The maximum number of awards to display. Number. Defaults to 20. [wlt-awards limit="40"]
user-id Specify the user ID to display a gallery for. By default, it will show the gallery for the current user Number. Defaults to user ID of the logged in user. [wlt-awards user-id=32]
width Allows you to specify the maximum width of the gallery. Number (default: 800) or percentage (e.g. 90%) [wlt-awards width="400"]
Yes No Suggest edit
Help Guide Powered by Documentor
Suggest Edit