zeldor.biz

Linux, programming and more

Copyright © 2023
Log in

WordPress disable admin bar

February 24, 2011 by Igor Drobot Leave a Comment

And today I installed another important wordpress update. This update brought a stupid admin bar with it.

Wordpress Admin Bar

For some styles and users this can be really helpful, but not for me and my style.

Some developers started to create ugly plugins ti disable the admin bar. But there is no need for a plugin, you can turn it off in your profile:
Wordpress disable admin bar

Another way is to add a filter:

1
add_filter( 'show_admin_bar', '__return_false'  );

add_filter( 'show_admin_bar', '__return_false' );

… just pasting this short code into your functions.php

Not everyone is comfortable editing files so it’s nice to let people know about a very useful plugin ;)

Filed Under: Linux Tagged With: admin bar, disable admin bar, Wordpress

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *