Registered Menu Locations
The theme registers four menu locations in/inc/menu.php:
Available Locations
- primary_menu - Main navigation in header
- footer_menu - General footer links
- footer_empresa - Company information footer links
- footer_legal - Legal/policy footer links
Assigning Menus
Assign menus via Appearance > Menus in WordPress admin:- Create a new menu or select existing
- Add pages, posts, or custom links
- Check the location checkbox (e.g., “Menú Principal”)
- Save the menu
Custom Menu Walkers
The theme includes two custom walker classes for enhanced menu rendering.Desktop Walker
TheVertisub_Walker_Desktop class creates dropdown menus for desktop navigation:
Mobile Walker (Offcanvas)
TheVertisub_Walker_Offcanvas class creates mobile-friendly navigation:
Displaying Menus
Primary Menu (Desktop)
Use the custom walker for desktop navigation:Mobile Menu (Offcanvas)
Footer Menus
Menu Item Icons
The theme supports Font Awesome icons for menu items using custom post meta.Adding Icon Support
Icons are stored as post meta with key_menu_item_icon. The walker retrieves them:
Setting Icons Programmatically
Available Icon Examples
Custom Menu Classes
The theme automatically adds CSS classes to menu elements.Link Classes
List Item Classes
Dropdown Menu Styling
Desktop Dropdown CSS
Mobile Dropdown CSS
Menu Features
Dropdown Arrows
Parent items automatically get dropdown arrows:Active States
JavaScript toggles active class:Advanced Customization
Add Custom Fields to Menu Items
Extend the menu item edit screen:Create a Mega Menu
Extend the walker for multi-column dropdowns:Best Practices
- Use custom walkers - They provide better control over markup
- Add meaningful icons - Icons improve visual hierarchy
- Test on mobile - Ensure offcanvas menu works properly
- Keep menus shallow - Limit to 2 levels of depth
- Use descriptive labels - Clear menu item names improve UX
Next Steps
- Styling & Design - Style your menus
- Advanced Custom Fields - Add custom data to pages
- Theme Setup - Configure theme features

