Petra
AI assistant for GrootMade
Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.
forked from Navigation Menu IDs & Classes™
Pathway Pins & Pivots is not affiliated with Navigation Menu IDs & Classes. The name and any related trademarks are used solely for nominative descriptive purposes.
This plugin modifies the HTML output of navigation menus to produce cleaner, more manageable code. It is designed for developers and site builders who want to write simpler, more semantic CSS without the bloat of default menu classes.
Semantic IDs: Replaces generic, auto-generated menu item IDs (like menu-item-677) with IDs based on the page or post slug (like nav-contact-us). This creates predictable, meaningful selectors for styling and scripting.
Class Reduction: Strips out the long list of default classes automatically added to each menu list item, keeping only the essential classes you choose to retain. This drastically reduces visual noise in your HTML.
Selective Class Retention: Allows you to choose which specific WordPress classes to keep, such as current_page_item. This provides control over the remaining markup for styling active states or other conditions.
Custom Class Support: Preserves any custom CSS classes you manually add to menu items through the admin interface, ensuring your custom styles are not lost.
The result is navigation code that is easier to read, debug, and style, leading to more maintainable front-end development.