Directory / plugin

Admin Menu Filter

v0.3.1 · by alejandro.moreno.mvd

Admin Menu Filter adds a search box to the WordPress admin interface that allows you to quickly filter and find menu items.

View on WordPress.org

About this plugin

Sometimes you may have a lot of admin menu items based on your WordPress installation. With this plugin, you only need to type a few letters of the item name you’re looking for and voila! The plugin uses plain JavaScript (no jQuery) to filter menu items with case-insensitive matching.

Features:

  • Instant filtering – Debounced search, so typing stays smooth even with long menus
  • Keyboard shortcuts – Press / to focus the search box (when you are not typing in a field), Escape to clear it
  • Matching children are reachable – Submenus of the matching items are expanded, no hovering needed
  • Accessible – The box is a labelled search landmark and the number of results is announced to screen readers
  • No jQuery dependency

How it works:

The plugin adds a search input at the top of the admin menu and follows these filtering rules:

  1. If a top-level item matches, it stays visible together with all of its submenu items.
  2. If only some submenu items match, those items stay visible (highlighted) under their parent, and the rest are hidden.
  3. Notification badges and screen reader text are ignored, only the visible name of each item is searched.

Plugin tags