[wt-awards-recent]
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. | [wt-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). | [wt-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). | [wt-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. | [wt-awards-recent user-id=3] |
Help Guide Powered by Documentor