Title: KP Disable Admin Bar Based on User Roles
Author: Kalpesh Prajapati
Published: <strong>2025 年 2 月 7 日</strong>
Last modified: 2025 年 2 月 7 日

---

搜索插件

![](https://ps.w.org/kp-disable-admin-bar-based-on-user-roles/assets/banner-772x250.
png?rev=3236764)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/kp-disable-admin-bar-based-on-user-roles/assets/icon-256x256.
png?rev=3236764)

# KP Disable Admin Bar Based on User Roles

 作者：[Kalpesh Prajapati](https://profiles.wordpress.org/kprajapati22/)

[下载](https://downloads.wordpress.org/plugin/kp-disable-admin-bar-based-on-user-roles.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/kp-disable-admin-bar-based-on-user-roles/#description)
 * [评价](https://cn.wordpress.org/plugins/kp-disable-admin-bar-based-on-user-roles/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/kp-disable-admin-bar-based-on-user-roles/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/kp-disable-admin-bar-based-on-user-roles/#developers)

 [支持](https://wordpress.org/support/plugin/kp-disable-admin-bar-based-on-user-roles/)

## 描述

The KP Disable Admin Bar Based on User Roles plugin allows site administrators to
selectively disable the admin bar for certain user roles. This helps improve the
user experience for non-admin users by hiding the admin bar when unnecessary.

**Features:**

 * Simple interface to configure roles.
 * Disable admin bar for selected user roles.
 * Fully compatible with WordPress coding standards.
 * Lightweight and easy to use.

## 屏幕截图

[⌊Settings Page: Select user roles to disable the admin bar.⌉⌊Settings Page: Select
user roles to disable the admin bar.⌉[

**Settings Page**: Select user roles to disable the admin bar.

## 安装

 1. Download the plugin zip file.
 2. Go to your WordPress admin dashboard.
 3. Navigate to “Plugins > Add New” and click “Upload Plugin.”
 4. Choose the downloaded zip file and click “Install Now.”
 5. Activate the plugin from the “Plugins” page.
 6. Go to “Settings > Disable Admin Bar” to configure the roles.

## 常见问题

### How do I disable the admin bar for specific roles?

Go to the “Settings > Disable Admin Bar” page, select the roles for which you want
to disable the admin bar, and save the settings.

### Will this plugin affect admin users?

No, the plugin will only affect the roles you select in the settings page.

## 评价

此插件暂无评价。

## 贡献者及开发者

「KP Disable Admin Bar Based on User Roles」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Kalpesh Prajapati ](https://profiles.wordpress.org/kprajapati22/)

[帮助将「KP Disable Admin Bar Based on User Roles」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/kp-disable-admin-bar-based-on-user-roles)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/kp-disable-admin-bar-based-on-user-roles/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/kp-disable-admin-bar-based-on-user-roles/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/kp-disable-admin-bar-based-on-user-roles/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/kp-disable-admin-bar-based-on-user-roles/)。

## 更新日志

#### 1.0.0

 * Initial release of the plugin.
 * Added functionality to disable the admin bar based on user roles.
 * Created a user-friendly settings page.

## 额外信息

 *  版本 **1.0**
 *  最后更新：**2 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.7.10**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/kp-disable-admin-bar-based-on-user-roles/)
 * 标签
 * [admin bar](https://cn.wordpress.org/plugins/tags/admin-bar/)[disable admin bar](https://cn.wordpress.org/plugins/tags/disable-admin-bar/)
   [user roles](https://cn.wordpress.org/plugins/tags/user-roles/)
 *  [高级视图](https://cn.wordpress.org/plugins/kp-disable-admin-bar-based-on-user-roles/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/kp-disable-admin-bar-based-on-user-roles/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/kp-disable-admin-bar-based-on-user-roles/reviews/)

## 贡献者

 *   [ Kalpesh Prajapati ](https://profiles.wordpress.org/kprajapati22/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/kp-disable-admin-bar-based-on-user-roles/)