How to hide the field group title and description from profile page
Introduced in version 1.2.0, the user public profile page will display the field groups title and description. If for any reason you might want to remove them from displaying, follow these instructions.
Before following these instructions make sure you are comfortable and understand how to customize the WPUM template files. Read more here
Remove the title and description
- Retrieve the file profile-overview.php from the "templates/profile" folder of the plugin.
- Copy and paste the file into your theme's wpum folder in order to modify it. Please read the above links for more information.
- Open the profile-overview.php file with your favorite code editor and remove the following code:
<?php if( wpum_get_field_group_name() ) : ?> <h3 class="group-title"><?php echo esc_html( wpum_get_field_group_name() ); ?></h3> <?php endif; ?> <?php if( wpum_get_field_group_description() ) : ?> <p class="group-description"><?php echo esc_html( wpum_get_field_group_description() ); ?><p> <?php endif; ?>
Save the file. The description and group title have now been removed.