Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Don’t hide fields when user views his own profile

@shanebp

Moderator

More precisely – replace it with:

<?php if ( bp_is_my_profile() ) : ?>

	<tr<?php bp_field_css_class(); ?>>

		<td class="label"><?php bp_the_profile_field_name(); ?></td>

		<td class="data"><?php bp_the_profile_field_value(); ?></td>

	</tr>

<?php elseif ( bp_field_has_data() ) : ?>

	<tr<?php bp_field_css_class(); ?>>

		<td class="label"><?php bp_the_profile_field_name(); ?></td>

		<td class="data"><?php bp_the_profile_field_value(); ?></td>

	</tr>

<?php endif; ?>
Skip to toolbar