Lain Poulson

[email protected]

 

Hi Ron

Ah gotcha. The plugin allows other tabs of content to be added to the profile – About being the default.
You can hide the profile navigation tab with two methods –
CSS:
#wpum-profile div#profile-navigation {
  1. display: none;
}
Or by customizing the templates/profiles/navigation.php template to only show if more than one tab:
You can see how to customize a template here https://docs.wpusermanager.com/article/122-example-template-customization
<?php if ( count( $data->tabs ) < 2 ) {
return;
} ?>

<nav class="profile-navbar">
<?php foreach( $data->tabs as $tab_key => $tab ) : ?>
<a href="<?php echo esc_url( wpum_get_profile_tab_url( $data->user, $tab_key ) ); ?>" class="tab-<?php echo esc_attr( $tab_key ); ?> <?php if( wpum_get_active_profile_tab() == $tab_key ) : ?>active<?php endif; ?>"><?php echo esc_html( $tab['name'] ); ?></a>
<?php endforeach; ?>
</nav>