- This topic has 0 replies, 1 voice, and was last updated 13 years, 10 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › Inside › This WordPress Site › Disable WordPress 3.1 Admin Toolbar in the Header
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:
<?php
// 2011-02-11 FR 15:41 Remove WordPress 3.1 Admin Bar
add_filter( 'show_admin_bar', '__return_false' );
?>
© 2017 DomainWebCenter.com. All Rights Reserved. | Disclaimer | Contact the Editor