Hi Ravi, sorry for this very unspecific question, what I wanted to know was, if it’s possible to hook an element like the send message button inside:
img.avatar
I can see now, that I of course can’t hook anything directly on top of the avatar, but I can hook an element inside
div#item-header
whereimg.avatar
is, and then with css move it on top of the avatar where I want it.I think this answers my own question? 😉
Thanks!
Hello Carsten,
Sorry i was on wrong side. Please try the following code.
add_action( 'bp_before_member_header_meta', function () { echo sprintf( '<a href="%s">%s</a>', bp_displayed_user_domain(), __( 'View' ) ); } );
it will add a view link inside header content which is inside ‘div#item-header’
Regards
Ravi
Viewing 5 posts - 1 through 5 (of 5 total)
The topic ‘ [Resolved] Is it possible to place text on top of the profile avatar?’ is closed to new replies.
This topic is: resolved