Front End Settings

These options will help you to hide admin bar or its items on the front end pages when WordPress user is logged in.

Hide Admin Bar on Site Pages

When a user is logged in, he can see admin bar even on site pages, not just admin panel. This option will help you to remove admin bar from site pages when a user is logged in to WordPress.

Show Admin Bar for Logged Out Users

If this option is checked, WordPress admin bar will show up on the site pages even for logged out users! It will be publically available on your site's pages. Admin bar customizations created by Cusmin like custom colors, icons and admin bar items, should also work on the public admin bar. Please note that admin bar will not have the default WordPress admin bar items like "Site name", "New+", "Updates" or current user information on the right. Your custom admin bar items should be visible. Some third party plugins like BuddyPress can add theirs admin bar items here, so they could also appear on the public admin bar.

Please make sure that the currently selected configuration is also set as public facing configuration.

Default WordPress admin bar showing on front end
The default WordPress admin bar enabled publicly
Default WordPress admin bar customized with Cusmin with custom colors and custom menu showing on front end
Public admin bar customized with Cusmin containing custom items, icons and colors

Troubleshooting: Admin bar does not appear on site pages, even though this option is checked

Solution 1: Check theme's function.php and search for "show_admin_bar" filter. The theme could be disabling it. Try to comment it out and see if the problem is solved.

Solution 2: Try disabling all other plugins. Some plugins could add extra options for managing admin bar on front-end.

Solution 3: Make sure that your Cusmin configuration is set as a public configuration on Cusmin -> General tab

Troubleshooting: Admin bar does not appear on site pages, even though this option is checked

Solution: Check tag of your theme inside the PHP template. In WordPress default templates, you can find this in header.php. Body tag should look like this:

<body <?php body_class(); ?> >

If you use a custom template instead, that does not have the body_class function, please make sure to add cusmin class to the body tag, like this:

<body class="cusmin">

Cusmin custom styles will be applied correctly after that.

Hide Search Field

This will hide search field in admin bar on the front-end. 

WordPress search field in the top admin bar
Hide search field on front end with Cusmin

Hide "Customize" Menu Item

This option will hide customize menu item on front page admin bar

Customize menu item in the WordPress admin bar
Hide Customize admin bar item with Cusmin

Hide "BuddyPress Log In button" menu item

This option will appear only if BuddyPress plugin is installed. In its settings, it is possible to set admin bar to show up publicly. When that option is active, BuddyPress will create a login button that will show up in the admin bar. With this Cusmin option, we can hide that Log In button.

Buddypress button in the top admin bar
BuddyPress Log In button on public admin bar

Other options

Other options may also appear here depending on installed plugins that add their admin bar items on front admin bar.

Other options in Cusmin for managing WordPress admin bar
Cusmin front-end admin bar options

Was this helpful?
Is there anything that we can improve?
Thanks for your feedback!

Ready for Cusmin?  Pricing - See Demo - Show me more info

Get updates by E-mail