Description
This shortcode allows you to show all ranks a user currently has. Note that this is only usable when you have ranks for multiple point types.
Shortcode Attributes
Attribute | Type | Required | Default | Description |
---|---|---|---|---|
user_id |
string | No | current | Option to show the rank of a particular user. Accepts "current" for current user or a user ID. |
show_title |
int | No | 1 | Option to show the rank title (1) or not (0). |
show_logo |
int | No | 1 | Option to show the rank logo (1) or not (0). |
logo_size |
string | No | post-thumbnail | The logo size (if set to be shown). accepts "post-thumbnail" for thumbnail size, "full" for full size. |
first |
string | No | logo | Option to show title first (title) or the logo (logo) first. |
CSS Styling
div.mycred-all-my-ranks { } div.mycred-all-my-ranks .mycred-my-rank { } div.mycred-all-my-ranks .mycred-my-rank img { }
Example
Example 1: Show current users Ranks but only show the logo and not the rank title.
[mycred_my_ranks show_title=0 show_logo=1]