Roles under username (.bbp-author-role)
I’m not sure if this would be considered a request or perhaps just a modification I could make, so forgive me if this is the wrong section.
I would like to be able to display an image based on a users role. That is, if they’re a subscriber, the would have a the relevant subscriber image. The same for mods, admin etc. I feel the easiest way to do this would be with CSS, but unfortunately the role underneath a username on a post only has the class .bbp-author-role. Would it be possible to add another class such as .bbp-author-role-subscriber to allow further customisation?
I’m a bit of a php novice, so I’m completely sure where to start with it. I also feel this could be beneficial to others.
Thanks in advance.
You must be logged in to reply to this topic.