Apps Ballance Cash_2 Chat Checkout Click Code Cog_Wheels Compose_email Conference Contacts Earth Edit_File_1_ Email Email_2 File Folder_2 Gift Group Group_2 Help ID ID_2 Key Keys Laptop_Store Like_1_ Link Lock Log_Out Map Marketing Mobile_UI Navigation POS Partnership Profile Safe_2 Search_User Secure_Files Settings Share Shield Shield_2 Shopping_Cart Support_Male Trash Type_pin User_female User_male logo copy

How to hide the field group title and description from profile page

Iain Poulson avatar
Iain Poulson Last updated on March 6, 2021

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 

https://wpusermanager.com/article/121-templates-customization/

https://wpusermanager.com/article/122-example-template-customization/

https://wpusermanager.com/article/105-customize-the-user-profiles/

Remove the title and description

  1. Retrieve the file about.php from the “templates/profile” folder of the plugin.
  2. Copy and paste the file into your theme’s wpum folder in order to modify it. Please read the above links for more information.
  3. Open the about.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.

WP User Manager logo

Get Started with the Best WordPress Membership Plugin Today

Connect, Manage and Build your Membership Site

Need more help?

If you still didn't find an answer you can always contact us

Submit a ticket