跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

AdBear Roles and Admin Access Manager

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

AdBear Roles and Admin Access Manager

由 Secil Kars 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

AdBear Roles and Admin Access Manager helps site owners and agencies control what each WordPress user role can see and do in the admin area — without writing custom code.

Use one admin menu to:

  • Create, edit, clone, and delete custom roles
  • Assign built-in and custom capabilities
  • Hide admin menus and block direct URL access to hidden pages
  • Control dashboard widgets and admin bar items by role
  • Set login redirect URLs after sign-in
  • Limit Advanced Custom Fields (ACF) field groups by role
  • Customize the wp-login screen (logo, colors, layout)

The administrator role is always protected and cannot be edited or deleted through this plugin.

This plugin does not handle front-end membership or user registration forms. It focuses on admin access control and login branding.

Getting started

All settings are under AdBear Roles in the WordPress admin. You need the manage_options capability (typically an Administrator).

Step 1: Roles & Capabilities

  1. Go to AdBear Roles → Roles & Capabilities.
  2. To add a role, enter a Role key (lowercase, no spaces, e.g. shop_manager) and a Role label (display name).
  3. Check the capabilities the role should have, or add custom capability names in the text field.
  4. Click Save role.
  5. To copy an existing role, use Clone role and provide a new key and label.
  6. To change the role assigned to new registrations, pick a role under Default registration role and click Save default role.

Step 2: Admin menu visibility

  1. Go to AdBear Roles → Admin Menu Visibility.
  2. Select the role from the dropdown.
  3. Enable Enable menu restrictions for this role.
  4. Check only the menu items that role should see.
  5. Click Save menu rules.

Hidden menus are removed from the sidebar. If a user visits a hidden page by URL, access is denied.

Step 3: Dashboard widgets

  1. Go to AdBear Roles → Dashboard Widgets.
  2. Select the role, enable restrictions, and check the widgets to keep visible.
  3. Click Save dashboard rules.

Step 4: Admin bar

  1. Go to AdBear Roles → Admin Bar.
  2. Select the role, enable restrictions, and check the admin bar items to keep.
  3. Click Save admin bar rules.

Step 5: Login redirects

  1. Go to AdBear Roles → Login Redirects.
  2. Enter an internal URL for each role that should redirect after login (leave blank to use WordPress default).
  3. Click Save redirects.

Step 6: ACF field groups (optional)

Requires the Advanced Custom Fields plugin.

  1. Go to AdBear Roles → ACF Group Visibility.
  2. Select the role, enable restrictions, and check the field groups to show.
  3. Click Save ACF rules.

Step 7: Login & branding

  1. Go to AdBear Roles → Login & Branding.
  2. Enable branding, then set logo, background, button color, layout, and optional admin footer text.
  3. Click Save branding settings.

To test, log out and open your site’s wp-login.php page, or log in as a user with the role you configured.

螢幕擷圖

Roles & Capabilities — create custom roles, assign capabilities, clone roles, and set the default registration role
Roles & Capabilities — create custom roles, assign capabilities, clone roles, and set the default registration role
Admin Menu Visibility — hide admin menus and submenus by user role with direct URL access blocking
Admin Menu Visibility — hide admin menus and submenus by user role with direct URL access blocking
Dashboard Widgets — control which dashboard widgets appear for each role
Dashboard Widgets — control which dashboard widgets appear for each role
Admin Bar — manage admin bar items and quick links visibility by user role
Admin Bar — manage admin bar items and quick links visibility by user role
Login Redirects — set role-based login redirect URLs after sign-in
Login Redirects — set role-based login redirect URLs after sign-in
ACF Group Visibility — show or hide ACF field groups by role
ACF Group Visibility — show or hide ACF field groups by role
Login & Branding — customize wp-login logo, background, colors, split layout, and admin footer text
Login & Branding — customize wp-login logo, background, colors, split layout, and admin footer text

安裝方式

  1. Upload the adbear-roles-admin-access-manager folder to /wp-content/plugins/ or install from Plugins → Add New.
  2. Activate AdBear Roles and Admin Access Manager on the Plugins screen.
  3. In the WordPress admin sidebar, open AdBear Roles.
  4. Follow the steps in Getting started below.

常見問題集

Can I create custom roles without code?

Yes. Use AdBear Roles → Roles & Capabilities to add roles, pick capabilities, or clone an existing role.

Does hiding a menu also block direct URL access?

Yes. When menu restrictions are enabled for a role, direct visits to hidden admin pages are blocked.

Is the Administrator role protected?

Yes. The administrator role cannot be edited or deleted through this plugin.

Does this work with Advanced Custom Fields (ACF)?

Yes, when ACF is active. Use ACF Group Visibility to choose which field groups appear for each role.

Can I customize the WordPress login page?

Yes. Login & Branding lets you set the logo, background, colors, layout, and admin footer text.

Is this a membership or registration plugin?

No. It focuses on admin access control, roles, and login branding.

Who can configure this plugin?

Only users with the manage_options capability can access the AdBear Roles settings pages.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈AdBear Roles and Admin Access Manager〉的開發相關工作。

參與者
  • Secil Kars

將〈AdBear Roles and Admin Access Manager〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

0.6.3

  • Fixed admin bar manager showing an empty item list on the settings screen
  • Fixed login page centered and split layout alignment issues
  • Updated Our Plugins page with current WordPress.org links (PixelCraft with WebP, TOCCraft, Adbear Image Cleaner)

0.6.1

  • WordPress.org review fixes: unique adbam_ prefix for options, nonces, and script handles
  • Renamed plugin classes to Adbam_Admin_Access and Adbam_Our_Plugins
  • Modern admin CSS now enqueued via wp_enqueue_style() / wp_add_inline_style() instead of inline <style> output
  • Automatic migration from legacy arc_ option names
  • Updated contributor username to match WordPress.org account

0.6.0

  • Rebranded to AdBear Roles and Admin Access Manager
  • Plugin slug and text domain updated to adbear-roles-admin-access-manager
  • Removed keyword-stuffed readme content; added step-by-step getting started guide
  • Updated Author URI and plugin links to https://wordpressplugin.adbear.cloud/adbear-roles-and-admin-access-manager/

0.5.0

  • Security hardening: nonce verification, input sanitization, redirect validation
  • Plugin Check compatibility improvements

0.4.5

  • Added Our Plugins showcase page
  • Added uninstall handler to remove plugin options
  • Modern admin menu width and content spacing improvements

0.4.2

  • Login screen split layout with optional side image
  • Modern WordPress admin panel UI mode

0.4.1

  • Login Screen & Branding manager
  • Custom login logo, background, gradient, and button styling

0.4.0

  • Dashboard widget visibility by role
  • Admin bar manager
  • Login redirect manager
  • ACF field group visibility by role

0.3.0

  • Initial release: roles, capabilities, and admin menu manager

中繼資料

  • 版本 0.6.3
  • 最後更新 3 週前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 6.0 或更新版本
  • 已測試相容的 WordPress 版本 7.0.2
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    admin menucapabilitiespermissionsuser roleswp login
  • 進階檢視

評分

這個項目尚無任何評論記錄。

Your review

查看全部使用者評論

參與者

  • Secil Kars

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.