Highlight author's topics. Outputting functions as a variable without displayin
-
I’m trying to highlight a forum topic if the person logged in wrote it. I think I know how to go about setting it up, but the functions I use aren’t working for me.
I want to write an if statement that looks something like this:
if(bp_the_topic_poster_name() == bp_loggedin_user_fullname()){echo 'id="author"';}
This actually displays both the poster name and the logged in username on the website. Obviously I don’t want that haha.
Any ideas?
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Highlight author's topics. Outputting functions as a variable without displayin’ is closed to new replies.