Make WordPress Admin Bar Always Visible

Recently we observed that WordPress site made its admin bar always visible.

By default, admin bar of wordpress site is visible to the logged in user.

To make it visible to all users we just need to tweak the theme function.

1. Show Admin Bar without a Plugin

You need to add the following code inside theme functions.php file.

show_admin_bar( true );

2. Show Admin Bar with a tiny Plugin

You need to install this plugin: Always Show Admin Bar
This plugin also do the same but it also shows a login link to the guest users.

Leave a Reply

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