Easily add custom ID, Class, and Data attributes to WordPress menu items directly from the admin panel — no coding required.
As of April 2026, Menu Item Custom Attributes is a WordPress id plugin with 30 active installations and a 0/5 rating0. It has been downloaded 246 times in total. Requires WordPress 5.0+ and PHP 7.2+. Available on WordPress.org since 2025. Top alternative: Reveal IDs.
Menu Item Custom Attributes allows you to add HTML attributes such as id, class, and data-* directly to WordPress menu items from the admin interface.
This plugin is perfect for developers and designers who want fine-grained control over menu elements for styling, tracking, or custom scripting — all without editing theme code.
Key Features
– Add unique HTML ID, CSS Class, or custom Data attributes to individual menu items
– Works directly within the native Appearance → Menus screen
– Compatible with all themes and page builders (Elementor, Astra, Divi, etc.)
– Lightweight and performance-optimized
– Safe and secure with sanitization and nonce checks
Use it to apply special styles, attach JavaScript actions, or integrate with analytics tools like Google Tag Ma…
| WordPress | 5.0+ requiredTested up to 6.8.5 |
| PHP | 7.2+ required |
delete_post_meta_by_key(). Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.