Hide WordPress Admin Bar

This time, i will share how to hide the admin bar which will be displayed only for logged in users.

For some people, this feature really help, but how about the one who want to made an apps theme? They usually won’t to show if they are using a WordPress to their user.

Ads ‹ ColorLabs Demo — WordPress

To hide this admin bar, you don’t have to install any plugin. You just have to add this code at your theme functions.php:

add_filter('show_admin_bar', '__return_false');

You can add this code at the very end of the code before you saw this sign: ?>

After you add those code, your WordPress admin bar will be hidden.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s