Admin Bar Visibility Control

Descripción

Admin Bar Visibility Control hides the WordPress admin bar, also called the toolbar, on the front end of your site. You choose which user roles stop seeing it.

Use it when logged-in customers, members, or subscribers should not see the admin bar, but you and your team still should.

What is never affected

  • Administrators
  • wp-admin screens, including the block editor
  • Logged-out visitors
  • Roles you do not select

Store plugins

The settings page detects WooCommerce, SureCart, Easy Digital Downloads, and FluentCart, and suggests the right roles. Nothing is selected for you.

WooCommerce and SureCart already hide the admin bar for their customers. The settings page tells you when this is the case, so you can focus on other roles, such as staff roles. Easy Digital Downloads and FluentCart do not hide it, so this plugin covers their customers.

No store plugin? It works with any role except Administrator, including custom roles.

Capturas

Instalación

  1. Install the plugin from the Plugins screen, or upload it to /wp-content/plugins/.
  2. Activate it.
  3. Go to Settings > Admin Bar.
  4. Turn on the setting and select the roles that should not see the admin bar.
  5. Save your changes.

Preguntas frecuentes

Does this affect wp-admin or the block editor?

No. It only hides the admin bar on the front end of your site.

Can administrators lose the admin bar?

No. Administrators always keep it.

Do I need a store plugin?

No. Store plugins only change the suggestions. You can select any role except Administrator, including custom roles.

Why don’t WooCommerce or SureCart customers see the admin bar, even when this plugin is off?

Those plugins hide it for their customers on their own. The settings page shows when this happens.

What if a user has more than one role?

The admin bar is hidden if any of their roles is selected. Administrators are never affected, even if they also have a selected role.

What happens to the «Show Toolbar when viewing site» option on user profiles?

It still works for roles you do not select. For selected roles, the plugin hides that option, because it would have no effect.

Does this use CSS to hide the admin bar?

No. It uses the WordPress show_admin_bar filter.

What happens to my settings if I delete the plugin?

Deactivating the plugin keeps your settings. Deleting it from the Plugins screen removes them.

Does this track users or send data anywhere?

No. There is no tracking, no external requests, and no upsells.

Reseñas

No hay reseñas para este plugin.

Colaboradores y desarrolladores

«Admin Bar Visibility Control» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Admin Bar Visibility Control» ha sido traducido a 1 idioma local. Gracias a los traductores por sus contribuciones.

Traduce «Admin Bar Visibility Control» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

2.0.5

  • Renamed to Admin Bar Visibility Control. The settings page is now at Settings > Admin Bar.
  • The settings page now shows when WooCommerce or SureCart already hides the admin bar for a role.
  • Fixed the SureCart suggestion. It now uses the SureCart Customer role.
  • Easy Digital Downloads and FluentCart now suggest only the Subscriber role.
  • Removed suggestions for roles that no supported plugin creates.
  • The summary now lists the selected roles even while the setting is off.
  • Role names in the list can now be clicked to select them.
  • The «Show Toolbar when viewing site» profile option is now hidden for users whose admin bar this plugin hides.
  • Faster settings page on sites with many users.
  • Deleting the plugin now removes its settings. Deactivating keeps them.
  • Clearer, simpler text on the settings page.
  • Better translation support.
  • Fixed notice placement and other small issues on the settings page.
  • Requires WordPress 6.7 or later. Tested up to WordPress 7.1.

2.0.4

  • Refined the supported integration list to include only verified store plugins.
  • Removed bundled translation files in favor of WordPress.org language packs.

2.0.3

  • Updated compatibility for WordPress 7.0.
  • Added FluentCart to smart role recommendations for customer-facing stores.
  • Refined the supported integration list shown in the settings screen.

2.0.2

  • Improved settings page hierarchy, spacing, responsive behavior, and version visibility.
  • Improved settings notice placement on the plugin settings page.
  • Added WordPress Playground blueprint support for the WordPress.org Live Preview flow.
  • Added requirement metadata to the main plugin file for WordPress.org compatibility parsing.

2.0.1

  • Improved role-selection accessibility with explicit checkbox labels and a screen-reader table caption.
  • Added settings feedback output on the settings screen.
  • Improved translation readiness for the plugin settings screen.
  • Updated the author URL.
  • Improved screenshot captions for a more user-focused plugin listing.

2.0.0

  • Renamed plugin to Admin Toolbar Visibility Control.
  • Kept the original main plugin file for backward compatibility.
  • Added Settings > Admin Toolbar.
  • Added role-based front-end toolbar visibility control.
  • Added administrator and wp-admin protections.
  • Added supported eCommerce, membership, and LMS plugin detection.
  • Added user counts and role recommendations in the settings screen.

1.0

  • Initial launch.