Post author Profile link
to get the authors BP account url you could try:
bp_core_get_user_domain( get_the_author_meta( ‘ID’ )
In the same vein you should be able to grab the BP avatar:
bp_core_fetch_avatar( array(‘item_id’ => get_the_author_meta( ‘ID’ )
Thanks for the response! I’ve been super swamped on this one. still am actually. I keep turning up errors for using that get user domain. Trying to figure it out today I wondered if it would be 100% easier to not change the code i have above but to just make a simple button that i can insert in my code. Is it possible to just make a text link that is relative to the author.
some kind of View Profile
- The topic ‘Post author Profile link’ is closed to new replies.