WordPress.org

Ready to get started?Download WordPress

Forums

admin bar in wordpress 3.1 (6 posts)

  1. monajain
    Member
    Posted 3 years ago #

    Hi,

    Can anyone tell how can i disable the admin bar at the top of the page??? I am using wordpress 3.1 version.

    Thanks

  2. Tara
    Member
    Posted 3 years ago #

  3. soblonde
    Member
    Posted 3 years ago #

    Insert the following coed in functions.php

    /* Disable the Admin Bar. */
    add_filter('show_admin_bar', '__return_false');
    
    /* Remove the Admin Bar preference in user profile */
    remove_action('personal_options', '_admin_bar_preferences');
  4. Salah Elimam
    Member
    Posted 3 years ago #

    From wp-admin > Profile >> Off Admin bar on site ..

  5. lenwood
    Member
    Posted 3 years ago #

    soblonde's method worked for me.

  6. head1ess
    Member
    Posted 3 years ago #

    how bout just adding this to functions.php

    show_admin_bar(false);

    ?????

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags