This shortcode allows you to show the rank title or logo of the user viewing the shortcode. Will not show anything if viewed by someone who is not logged in.

Requires the Ranks add-on to be enabled.

Available since version 1.6

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 1: Show current users Ranks but only show the logo and not the rank title.

[mycred_my_ranks show_title=0 show_logo=1]