This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathreadme.txt
49 lines (34 loc) · 1.9 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
=== Hide Admin Bar from Non-Admins ===
Contributors: strangerstudios
Tags: admin bar, toolbar, adminbar, dashboard
Requires at least: 5.2
Tested up to: 6.7
Stable tag: 1.0.2
Hides the WordPress toolbar (admin bar) for all non-admin users. Simple plugin with no settings to configure.
== Description ==
### 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.
== Installation ==
### Install Hide Admin Bar from Non-Admins from within WordPress
1. Visit the plugins page within your dashboard and select "Add New"
1. Search for "Hide Admin Bar from Non-Admins"
1. Locate this plugin and click "Install"
1. Activate "Hide Admin Bar from Non-Admins" through the "Plugins" menu in WordPress
1. 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
1. Activate "Hide Admin Bar from Non-Admins" through the "Plugins" menu in WordPress
1. That's it. There are no settings.
== Changelog ==
= 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.