Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Display Topic Starter label around topic authors avatar in topic replies

@robkk

Moderator

ok my bad for bumping this

but i changed my mind on how i want the function to display

is there a way to use if (bbp_get_reply_author_id() == bbp_get_topic_author_id() ) {

so that it just replaces this code of the reply author name

div class=reply-author-name><?php bbp_reply_author_link( array( 'show_role' => false, 'type' => 'name' ) ); ?></div>

to this instead

div class=topic-starter><?php bbp_reply_author_link( array( 'show_role' => false, 'type' => 'name' ) ); ?></div>

i just want to change the div class so that if the topic author = reply author it would just show the reply author name in just a different color , kind of like reddit

i want this because when my site goes to a smaller size i have to remove some attributes like post count , buddypress profile data , user role , and the user avatar at really small screens just so i could make it look nice.

i want to users to still recognize the topic starter even at smaller screens

i think a simple filter might do this

but i dont know where to even start.

thanks if anybody helps

Skip to toolbar