Change plain name to name and link to BP profile
-
hello, I have the YITH advanced review plugin on a woocommerce site, I also have a good integration with buddypress. My main challenge right now is to display an url to the author BP profile instead of the name only on each comment/reviw.
I think I located where the name is populated, how should I change it to show the name but with an URL:
case $this->ywar->custom_column_author: $user = get_userdata( $review->post_author ); $author_name = $user ? $user->display_name : __( 'Anonymous', 'ywar' ); echo $author_name;
I am close?
- The topic ‘Change plain name to name and link to BP profile’ is closed to new replies.