myCred Rank Plus

Estimated reading: 2 minutes 527 views

myCred Rank Plus

Description: This shortcode will render the specific rank of provided rank_id; without rank_id, the rank will not display.
Shortcode:
mycred_rank_plus

Shortcode Attributes:

Attribute

Type

Required

Default

Description

rank_id

INT

Required

Define the rank_id of the rank that you want to display in the front end. If you do not set the rank_id, the rank will not display.

title

INT

Optional

1

Either set 0 to hide the title or 1 to show the title.

title_link

INT

Optional

1

Set the attribute value 0 to remove the anchor from the link.

image

INT

Optional

1

Set the attribute value 0 for hiding the rank image/logo.

image_size

INT

Optional

80 x 80

Set the value for resizing the image from the default dimension to the defined one. The value you’ll define will consider like width and height of the image/logo.

 

e.g. image_size=220 or image_size=450 etc.

excerpt

INT

Optional

0

Set attribute value 1 to show the excerpt.

requirements

INT

Optional

0

Set the attribute value 1 to display the defined rank requirements on the front end.

earners

INT

Optional

0

Set the attribute to value 1 to show the earned users who earned that rank.

earners_limit

INT

Optional

10

To change the limit of the number of earners.

 

e.g. earners_limit=3 or earners_limit=15

Example 01: [mycred_rank_plus rank_id=346 earners=1]

Example 02: [mycred_rank_plus rank_id=658 title_link=0 image_size=222 requirements=1]

Example 03: [mycred_rank_plus rank_id=672 image_size=130 requirements=1 excerpt=1 earners=1 earners_limit=3]