Admin Menu Editor lets you manually edit the Dashboard menu. You can reorder the menus, show/hide specific items, change permissions, and more.
機能
- メニュータイトル、URL、アイコン、CSS クラスなどを変更します。
- ドラッグ & ドロップでメニュー項目を整理します。
- Change menu permissions by setting the required capability or role.
- メニュー項目を異なるサブメニューに移動します。
- ダッシュボードの任意の部分または外部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
このプラグインでは管理メニューの編集以外のこともできます。
- ログインリダイレクトとログアウトリダイレクトを作成する。
- 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).
ショートコード
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.
注
- 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.
