Admin Menu Editor

Admin Menu Editor | Janis Elsts

Description

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.
  • Create login redirects and logout redirects.

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.

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: IDuser_logindisplay_namelocaleuser_nicenameuser_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), htmlattrjsnone.

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.

Installation

Normal installation

  1. Download the admin-menu-editor.zip file to your computer.
  2. Unzip the file.
  3. Upload the admin-menu-editor directory to your /wp-content/plugins/ directory.
  4. Activate the plugin through the ‘Plugins’ menu in WordPress.

That’s it. You can access the the menu editor by going to Settings -> Menu Editor. The plugin will automatically load your current menu configuration the first time you run it.

WP MultiSite installation

If you have WordPress set up in Multisite (“Network”) mode, you can also install Admin Menu Editor as a global plugin. This will enable you to edit the Dashboard menu for all sites and users at once.

  1. Download the admin-menu-editor.zip file to your computer.
  2. Unzip the file.
  3. Create a new directory named mu-plugins in your site’s wp-content directory (unless it already exists).
  4. Upload the admin-menu-editor directory to /wp-content/mu-plugins/.
  5. Move admin-menu-editor-mu.php from admin-menu-editor/includes to /wp-content/mu-plugins/.

Plugins installed in the mu-plugins directory are treated as “always on”, so you don’t need to explicitly activate the menu editor. Just go to Settings -> Menu Editor and start customizing your admin menu 🙂

Notes
* Instead of installing Admin Menu Editor in mu-plugins, you can also install it normally and then activate it globally via “Network Activate”. However, this will make the plugin visible to normal users when it is inactive (e.g. during upgrades).
* When Admin Menu Editor is installed in mu-plugins or activated via “Network Activate”, only the “super admin” user can access the menu editor page. Other users will see the customized Dashboard menu, but be unable to edit it.

Plugin author

Janis Elsts

Plugin official website address

https://wordpress.org/plugins/admin-menu-editor/
If you encounter problems in using the Admin Menu Editor plugin, you can comment below, and I will try my best to help you solve the problem

Leave a Comment

Your email address will not be published. Required fields are marked *