Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    Copy theme-my-login/templates/profile-form.php to your current theme’s directory and remove it from the form.

    Thread Starter writegnj

    (@writegnj)

    So I uploaded profile-form.php in my theme folder in below location.

    My theme folder/theme-my-login/templates/profile-form.php

    and removed from profile-form.php but nothing seems to be changed. Any advice?

    <h3><?php _e( 'Personal Options', 'theme-my-login' ); ?></h3>
    
    <table class="form-table">
    <tr class="show-admin-bar user-admin-bar-front-wrap">
    <th><label for="admin_bar_front"><?php _e( 'Toolbar', 'theme-my-login' )?></label></th>
    <td>
    <label for="admin_bar_front"><input type="checkbox" name="admin_bar_front" id="admin_bar_front" value="1"<?php checked( _get_admin_bar_pref( 'front', $profileuser->ID ) ); ?> />
    <?php _e( 'Show Toolbar when viewing site', 'theme-my-login' ); ?></label>
    </td>
    </tr>
    <?php do_action( 'personal_options', $profileuser ); ?>
    </table>
    
    <?php do_action( 'profile_personal_options', $profileuser ); ?>
    
    <h3><?php _e( 'Name', 'theme-my-login' ); ?></h3>

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Put the profile-form.php into the root of your theme’s directory.

    Thread Starter writegnj

    (@writegnj)

    That works! thank you!

    Plugin Author Jeff Farthing

    (@jfarthing84)

    You’re welcome.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Any ways to remove toolbar option on profile setting page?’ is closed to new replies.