Shortcodes

[wlt-awards-recent]

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

This shortcode will display the most recent award received for the user. Awards are sorted by category and then value. Read more about Awards.

The shortcode supports the following arguments:

Argument Description Options Example
error-message Message to display if a relevant photo could not be found. String. Defaults to an in-build message. [wlt-awards-recent error-message="No photo!!"]
height Allows you to specify the maximum height for the photo. It is best to specify the width argument as well. Number (default: 200). [wlt-awards-recent height="400" width="400"]
width Allows you to specify the maximum width for the photo. It is best to specify the height argument as well. Number (default: 200). [wlt-awards-recent height="400" width="400"]
user-id Specify the user ID to display an awardfor. By default, it will show the gallery for the current user Number. Defaults to user ID of the logged in user. [wlt-awards-recent user-id=3]
Yes No Suggest edit
Help Guide Powered by Documentor
Suggest Edit