-
MakeNice replied to the topic Adding custom HTML to each profile group tab in the forum How-to & Troubleshooting 11 years, 4 months ago
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()) : ?>
<h4>About Me</h4>
<?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.
-
MakeNice started the topic Adding custom HTML to each profile group tab in the forum How-to & Troubleshooting 11 years, 4 months ago
Hello,
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
Not recently active