How to remove “About Yourself” on profile page?
-
I am trying to delete the “About Yourself” section on the profile page.
To this end, I have saved a copy of profile-form.php inside a new folder in my child theme directory. The folder is labelled: theme-my-login
However, when I delete the following code all I get is a blank screen.
Relevant code
<h3><?php _e( ‘About Yourself’, ‘theme-my-login’ ); ?></h3>
<table class=”tml-form-table”>
<tr class=”tml-user-description-wrap”>
<th><label for=”description”><?php _e( ‘Biographical Info’, ‘theme-my-login’ ); ?></label></th>
<td><textarea name=”description” id=”description” rows=”5″ cols=”30″><?php echo esc_html( $profileuser->description ); ?></textarea><br />
<span class=”description”><?php _e( ‘Share a little biographical information to fill out your profile. This may be shown publicly.’, ‘theme-my-login’ ); ?></span></td>
</tr><?php
$show_password_fields = apply_filters( ‘show_password_fields’, true, $profileuser );
if ( $show_password_fields ) :
?>
</table>====================================
Any ideas as to how I can achieve the desired outcome?
Thank you very much.
Best
Philip
PS: Our site is currently under construction and password protected so I can’t provide a link I’m afraid.
- The topic ‘How to remove “About Yourself” on profile page?’ is closed to new replies.