[WordPress] 外掛分享: Admin Menu Editor

首頁外掛目錄 › Admin Menu Editor
WordPress 外掛 Admin Menu Editor 的封面圖片
400,000+
安裝啟用
★★★★
4.6/5 分(311 則評價)
26 天前
最後更新
57%
問題解決
WordPress 5.9+ PHP 7.4+ v1.15 上架:2009-12-12

內容簡介

Admin Menu Editor 讓使用者可以手動編輯控制台的選單。使用者可以重新排序選單、顯示/隱藏特定項目、變更權限等,提升管理介面的靈活性與可用性。

【主要功能】
• 自訂選單標題、網址、圖示及 CSS 類別
• 拖放方式組織選單項目
• 設定選單權限以符合所需角色
• 移動選單項目至不同的子選單
• 創建指向控制台或外部網址的自訂選單
• 隱藏任何選單或選單項目

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.15) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Admin Menu Editor」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Admin Menu Editor lets you manually edit the Dashboard menu. You can reorder the menus, show/hide specific items, change permissions, and more.
Features

Change menu titles, URLs, icons, CSS classes and so on.
Organize menu items via drag & drop.
Change menu permissions by setting the required capability or role.
Move a menu item to a different submenu.
Create custom menus that point to any part of the Dashboard or an external URL.
Hide/show any menu or menu item. A hidden menu is invisible to all users, including administrators.

The Pro version lets you set per-role menu permissions, hide a menu from everyone except a specific user, export your admin menu, drag items between menu levels, make menus open in a new window and more. Try online demo.
Additional Features
Despite the name, this plugin is not limited to just editing the admin menu. You can also:

Create login redirects and logout redirects.
Allow/deny access to specific posts based on user roles.
Hide plugins on the Plugins -> Installed Plugins page from other users.
Edit the display name, description, and other plugin details shown on the Plugins -> Installed Plugins page (e.g. for white-labelling).

Shortcodes
The plugin provides a few utility shortcodes. These are mainly intended to help with creating login/logout redirects, but you can also use them in posts and pages.

[ame-wp-admin] – URL of the WordPress dashboard (with a trailing slash).
[ame-home-url] – Site URL. Usually, this is the same as the URL in the “Site Address” field in Settings -> General.
[ame-user-info field="..."] – Information about the logged-in user. Parameters:

field – The part of user profile to display. Supported fields include: ID, user_login, display_name, locale, user_nicename, user_url, and so on.
placeholder – Optional. Text that will be shown if the visitor is not logged in.
encoding – Optional. How to encode or escape the output. This is useful if you want to use the shortcode in your own HTML or JS code. Supported values: auto (default), html, attr, js, none.

Notes

If you delete any of the default menus they will reappear after saving. This is by design. To get rid of a menu for good, either hide it or change it’s access permissions.
In the free version, it’s not possible to give a role access to a menu item that it couldn’t see before. You can only restrict menu access further.
In case of emergency, you can reset the menu configuration back to the default by going to http://example.com/wp-admin/?reset_admin_menu=1 (replace example.com with your site URL). You must be logged in as an Administrator to do this.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon