DOCUMENTATION

Hide Admin Bar for Guest Users

Hide the admin bar specifically for non-logged-in visitors while keeping it visible for logged-in users.

2 min read    Last updated Feb 26, 2026

Overview

Hide the admin bar specifically for non-logged-in visitors while keeping it visible for logged-in users. This feature is part of the Core Features category in Hide Admin Bar Pro.

Feature Details

Category Core Features
Type Admin Bar Control
Plan Free
Configurable Settings No

Prerequisites

  • Hide Admin Bar Pro plugin must be installed and activated.

How to Configure

  1. Go to your WordPress admin dashboard.
  2. Navigate to Settings > Hide Admin Bar Settings.
  3. Find the Hide Admin Bar for Guest Users option on the main Settings tab.
  4. Toggle the option to enable it.
  5. Changes take effect immediately — no page refresh needed for visitors.

How It Works

This feature detects whether a visitor is logged in or not. If they are a guest (not logged in), the admin bar is hidden. Logged-in users will continue to see the admin bar based on other settings. This is useful when you want to maintain admin access while ensuring guests have a clean browsing experience.

Benefits

  • Clean frontend for visitors without the admin bar.
  • Logged-in users retain full admin bar functionality.
  • Simple toggle — no complex configuration required.
  • Improves the visual experience for non-admin visitors.
  • Works alongside role-based and capability-based hiding.

Frequently Asked Questions

How do I enable Hide Admin Bar for Guest Users?

Go to Settings > Hide Admin Bar Settings in your WordPress admin and find the option on the main Settings tab.

Can I use this with other visibility conditions?

Yes, all visibility conditions work together. The plugin evaluates conditions in order: global settings, role-based, capability-based, and then Pro conditions (time, URL, device, per-user). If any condition triggers hiding, the admin bar is hidden.

What happens if I accidentally hide the admin bar for administrators?

The plugin provides a secure reset URL on the settings page. You can also access the reset URL directly to restore all settings to their defaults without needing the admin bar.

Need More Help?

Our support team can help with setup, troubleshooting, and best practices.

Contact Support