Home Forums Inside This WordPress Site Disable WordPress 3.1 Admin Toolbar in the Header

Viewing 1 post (of 1 total)
  • Author
  • #2262
    Udar Gromov

    I encountered several wrong solutions for this problem.

    This is just a place holder for a real go-live upgrade in several weeks.

    To disable WP 3.1 Admin Bar insert this line to the bottom of your theme functions.php file:

    // 2011-02-11 FR 15:41 Remove WordPress 3.1 Admin Bar
    add_filter( 'show_admin_bar', '__return_false' );

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.