Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: FAQ: How To, Code Snippets and Solutions


vsellis
Participant

@vsellis

How to show secondary profile fields while hiding the \”Base\” profile fields in a user profile:

On line 3 of profile-loop.php add:<?php if (!bp_the_profile_group() == \"1\") : ?>

(after the <?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?>)

and don\’t forget to close your \”if\” before the <? endwhile; ?>

Skip to toolbar