Front.php? Add a Div to Profile Tab…
In the members/single/home.php file, there is a template reference to members/single/front.php. I do not see front.php. I am assuming this is the template that is called when a logged in member is viewing another member’s profile (that member’s profile tab). Is that accurate? If a different template is being used, could someone tell me which one? My theme uses the Buddypress Template Pack.
This is what I am trying to do: After `do_action( ‘bp_before_member_body’ );`, I want to add a div, but only if the Profile tab (for a member other than the logged in user) is selected; that is, if the logged in member is looking at their own Profile tab, no div is added. So, I think an added conditional should be placed in the home.php file, but I have no idea what template tags to use or how to structure it.
A bit of guidance, even guesses, would be much appreciated.
You must be logged in to reply to this topic.