Think I have figured out how best to work this. For anyone that may need it sometime the code I used was:
<?php if ( 1 == bp_get_the_profile_group_id()) : ?>
<?php endif; ?>
With 1 == the profile tab where I need to add my custom HTML. If anyone has alternative solutions I’m happy to hear them.
Hopefully someone can help. I am looking to add a different image banner to each of the profile group tabs I have on my Buddypress site. I have identifed the profile-loop.php as the file I need to include this on but when I try the following code it breaks the profile section of my site:
<?php if ( bp_the_profile_group_name() == 'About') )…[Read more]
@makenice active 2 months, 3 weeks ago