Linux 软件免费装
Banner图

Maestro: The Inline Admin Menu Editor

开发者 dpknauss
更新时间 2026年8月19日 20:49
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

admin menu menu editor menu icons hide menu items rename menu items

下载

1.0.0 1.1.1 1.2.0 1.5.3 1.1.0 1.3.0 1.3.1 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2

详情介绍:

Maestro lets you orchestrate the appearance of the WordPress admin menu — rename admin menu items, reorder them, change their icons, and hide admin menu items from the roles and people who don't need them. Every WordPress install accumulates menu clutter. A dozen plugins each claim a top-level slot, submenus sit in an order nobody chose, and clients meet a dashboard full of tools that aren't theirs. Maestro is how you customize the admin menu back into shape: declutter it for a client site, rename cryptic plugin labels into the words your team actually uses, reorder the admin menu so what you touch daily is at the top, and hide admin menu items per user role — or from one named person — so everyone sees only their own work. Instead of a separate settings screen, Maestro turns the admin menu into something you edit in place — right where it lives. Toggle Edit Menu from the admin bar, and the menu becomes editable. Click a menu item to rename it, hide it from selected user roles, or change its icon. Drag submenu items and whole menu groups to reorder them. Nothing to configure first, and nothing to learn: the menu you are editing is the menu you are looking at. And it stays out of the way. Maestro adds no autoloaded options and does no work at all on the front end, so a menu you tidied for the dashboard costs your visitors nothing (see Performance & footprint below). Try Maestro right here. Launch a demo in WordPress Playground — it boots a throwaway site with the plugin active in edit mode, plus User Switching and test users (editor, author, contributor, subscriber; password password) so you can try per-role visibility by switching to another user's account. What you can do — as a site administrator Maestro's enhancements are only activated for logged-in users with an Administrator role. They can: Changes are global — one configuration applies to everyone. Your custom menu configuration is stored as a sparse delta (just the differences) layered over the menu WordPress builds on each load. Nothing is rebuilt or duplicated, so a reset simply removes the delta, and the original menu returns. Important: visibility is cosmetic, not access control Hiding a menu item only declutters the menu. The underlying admin page still loads for anyone who knows or types its URL if they're authorized to see it. That's because a page's own registered capability is the true lock. Maestro operates on the menu (presentation), which is a different plane from authorization. If you need to actually prevent access, pair Maestro with a capability manager like PublishPress Capabilities**. It's menu-aware, and its Pro tier can block admin pages by URL. The maestro_capability filter lets such a plugin hand editing rights to a custom capability instead of the default manage_options. Accessibility and localization The editor is keyboard-operable end to end — select with Enter/Space, reorder with Alt+Arrow, and every move and save is announced to screen readers. Modified items carry a non-color indicator with screen-reader text, so their state is never indicated by color alone. Maestro uses the maestro-menu-editor text domain and ships a translation template plus starter language packs for Spanish (es_ES), German (de_DE), Japanese (ja), French (fr_FR), Portuguese – Brazil (pt_BR), and Italian (it_IT). WordPress.org language packs override and extend these; native-speaker and WordPress Polyglots reviews are welcome.

安装:

  1. In your dashboard, go to Plugins → Add New, search for "Maestro: The Inline Admin Menu Editor", and click Install Now, then Activate.
  2. Or upload the plugin zip via Plugins → Add New → Upload Plugin, then activate it.
  3. Or, manually: unzip into wp-content/plugins/maestro-menu-editor and activate from Plugins.
  4. After activating, click Edit Menu in the admin bar to start editing the admin menu in place.

屏幕截图:

  • The icon picker: searchable Dashicons and bundled Bootstrap Icons tabs for swapping a top-level admin menu icon.
  • Visibility — open the selector to hide an item from selected roles or from named individuals, and (on an item with children) to hide its sub-items independently while the parent stays visible. Cosmetic declutter, not access control.
  • A renamed item showing the transient "Saved" state — the indicator auto-clears to idle once the autosave settles.
  • Reordering a top-level menu group by dragging — a live sortable-helper shows the item in motion.
  • Reordering a submenu item using the ▲/▼ move controls — the OS-independent, keyboard-accessible reorder path.

升级注意事项:

1.5.3 Adds WordPress 7.1 support and fixes four ways Edit Menu could take you somewhere it could not work: the post and site editors, narrow windows, and the Collapse menu button. Unsaved posts are now saved before Edit Menu navigates. Cosmetic only — no access changed. No configuration changes. 1.5.2 Fixes an override that could silently stop applying when one save carried two spellings of the same item's address, and closes a way for a delegated editor to undo an administrator's per-person visibility rule. Cosmetic only — no access changed. No configuration changes. 1.5.1 Fixes a toolbar that shifted sideways while saving, and three editor accessibility gaps. Also fixes a rare case where the visibility popover could show a rule as active while the menu ignored it, and saving could then store it. No configuration changes; existing overrides are untouched. 1.5.0 Adds hiding menu items from specific people, alongside hiding by role — on items and their sub-items. Still cosmetic only: a hidden page still opens by URL for anyone allowed to see it, and no capability changes. Existing role rules are untouched. 1.4.1 Fixes editing a top-level item also changing a submenu item that shares its slug (the "All Products" self-link shape, and plugin shortcuts pointing at an existing screen). If a submenu item was already renamed with its parent, that name is kept — select it and use Reset Item once. 1.4.0 Hide a parent's sub-items from chosen roles while the parent stays visible. Renames now keep count bubbles and badges. Editing a submenu that shares its slug with its parent no longer changes the parent too. Existing overrides keep working; no config changes needed. 1.3.1 Editor visual refresh: the edit-mode toolbar and controls now match wp-admin's native look (the 1.2.0 coloured-outline system is retired), exit is consolidated onto the admin-bar "Exit Menu Editor" toggle, and dark-scheme contrast is improved. No config changes required. 1.3.0 Reliability fix: your saved menu overrides keep applying after a site moves hosts, a plugin update changes a menu URL's version number, tracking parameters drift, or a slug's & is stored as &. Adds a first-run guided tour for the editor (replay it with the toolbar "?"). No configuration changes required. 1.2.0 A redesigned, compact icon-only edit-mode toolbar; the editor is now reachable and touch-friendly on mobile; clearer "Edit Mode" and save states; separator-safe reordering; and internal hardening (scoped menu-order, bounded config, race-safe saves). No configuration changes required. 1.1.1 Minor editor UI tidy: the item-name label is now screen-reader-only, and the reset buttons are "Reset Item" / "Reset All". No configuration changes. 1.1.0 Keyboard-accessible reordering, a live "modified" indicator, solid bundled icons, native dashicon save-status, and responsive/edit-mode polish. No configuration changes required.

常见问题:

Does hiding a menu item block access to that page or disable its features?

No — and this is important. Hiding an item is cosmetic: it removes the link from the admin menu but does not stop anyone from reaching the page by typing or bookmarking its URL. Real access is governed by each page's registered capability. To truly block all access to a page, use a capability manager such as User Role Editor or PublishPress Capabilities.

Do my changes affect everyone, or just me?

Everyone. Maestro stores one global configuration that applies to all users. Visibility is the exception: you can hide items from chosen roles, or from named individuals, so what each person sees can differ. The rename/reorder/icon changes themselves are global.

Can I hide something from just one person?

Yes. Alongside the role lists, the visibility popover has a search box for people. Type a name, pick them, and the item disappears from that person's menu only — everyone else with the same role still sees it. You can target several people, and on an item with children you can hide the sub-items per person while the parent stays visible. Use it when a role is the wrong unit: one editor on a team of editors who doesn't need a particular tool. If you find yourself adding the same person list to many items, a role is probably the better fit. Two notes. Targeting your own account is allowed — Maestro warns you, and you can always get back in, because the Edit Menu control lives in the admin bar and no hide rule can remove it. And on a multisite network, network super admins are exempt from person-targeted hides (role-targeted hides still apply to them, as they always have).

Can I hide items from administrators, too?

Yes. The hide by role feature includes the administrator role. However, you have to be an administrator to use Maestro's features, so if you hide a menu item from administrators, you are hiding it from yourself as well. Remember that this is cosmetic, not a permission change, and you can reset any or all of the changes made in Maestro at any time.

Does it work with custom roles from other plugins?

Yes. Any role registered on the site — including custom roles from User Role Editor, Members, and similar plugins — appears automatically in the visibility control.

Is the editor keyboard accessible?

Yes. You can select, rename, reorder (Alt+Arrow), open the icon and visibility controls, and reset items without a mouse. Saves and moves are announced to screen readers.

What happens when I deactivate or reset the plugin?

The admin menu returns to exactly what WordPress and your active plugins generate. Your customizations live in a single option as a sparse delta; Reset All deletes that option, and deactivating the plugin stops it from being applied.

Can I move an item between a top-level position and a submenu?

Not yet. Reparenting is deliberately deferred (see "Known limits" below). Top-level items reorder among top-level items, and submenu items reorder within their current parent.

更新日志:

1.5.3 1.5.2 1.5.1 1.5.0 1.4.1 1.4.0 1.3.1 1.3.0 1.2.0 1.1.1 1.1.0 1.0.0