Hide Admin Bar from Non-Admins

ਵੇਰਵਾ

Install, activate, and you’re done.

This plugin hides the WordPress Toolbar (admin bar) for all visitors and users without the ‘administrator’ role. It’s a very simple plugin with no settings to configure.

  • Use this plugin for sites with only one admin who needs access to the dashboard and the admin bar.
  • This plugin is super lightweight, with just a few lines of code.
  • If you need to show the toolbar for other user roles, use the filter habfna_show_admin_bar_roles.

This plugin is a tweak of the code by Yoast to hide the admin bar for non-admins only.

ਸਥਾਪਤੀਕਰਨ

Install Hide Admin Bar from Non-Admins from within WordPress

  1. Visit the plugins page within your dashboard and select “Add New”
  2. Search for “Hide Admin Bar from Non-Admins”
  3. Locate this plugin and click “Install”
  4. Activate “Hide Admin Bar from Non-Admins” through the “Plugins” menu in WordPress
  5. That’s it. There are no settings.

Install Hide Admin Bar from Non-Admins Manually

  1. Upload the hide-admin-bar-from-non-admins folder to the /wp-content/plugins/ directory
  2. Activate “Hide Admin Bar from Non-Admins” through the “Plugins” menu in WordPress
  3. That’s it. There are no settings.

ਸਮੀਖਿਆਵਾਂ

23 ਫਰਵਰੀ 2022
Works perfectly. For a membership site, I don’t want anyone seeing the admin bar except admins! Thank you 🙂
14 ਨਵੰਬਰ 2021
The plugin is highly efficient, Works exactly as described and expected.
13 ਮਈ 2020
I tried more than 5 plugins, this one is the best, it shows toolbar for admin, but it hides it from users. Thank you, you deserve this positive comment
Read all 30 reviews

ਯੋਗਦਾਨੀ ਤੇ ਵਿਕਾਸਕਾਰ

“Hide Admin Bar from Non-Admins” is open source software. The following people have contributed to this plugin.

ਯੋਗਦਾਨੀ

“Hide Admin Bar from Non-Admins” ਦਾ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰੋ।

ਵਿਕਾਸ ਕਾਰਜ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹੋ?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

ਤਬਦੀਲੀ-ਚਿੱਠਾ

1.0.2 – 2024-11-13

  • ENHANCEMENT: Update tested up to WordPress 6.7.
  • ENHANCEMENT: Preparing plugin to be put up for adoption.

1.0.1 – 2022-04-11

  • ENHANCEMENT: Added habfna_show_admin_bar_roles filter to show the admin toolbar for additional roles.
  • BUG FIX: Fixed code to hide the admin bar from non-admins when viewing the Edit Profile WordPress admin page.

1.0

  • Initial version of the plugin.