Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the gVectors community!

Merry Christmas and Happy Holidays! 🎄

How to set the number of badges to display

2 Posts
2 Users
0 Reactions
1,829 Views
Posts: 39
Customer
Topic starter
(@andy-tsang)
Member
Joined: 3 years ago

Sorry for bother you again, i want to know how to set the number of badges to display, for example now it showing 4 badge, i want to only show 2

2022 12 26 211239

1 Reply
Astghik
Posts: 6580
Admin
(@astgh)
Illustrious Member
Joined: 8 years ago

wpDiscuz doesn't control the number of badges. It just gets the badges via the myCRED plugin hooks. You should check and see if myCRED has such an option.

Alternative: you can use the CSS code:

#wpdcom .wpdiscuz-mycred-badges-wrap .col-xs-12 .the-badge{
    display:none;
}
#wpdcom .wpdiscuz-mycred-badges-wrap .col-xs-12 .the-badge:first-child, #wpdcom .wpdiscuz-mycred-badges-wrap .col-xs-12 .the-badge:nth-child(2){
    display:block !important ;
}

This is just an example.

You can for example leave the third child. 

The topic has been moved to the correct forum. 


Reply
Share:
Scroll to top