The submenu markup is generated through the wp_nav_menu function. You will not find anywhere a “template” or “file” that allows you to modify the markup.
What is it that you want to change? If you can explain that, we may be able to provide alternate solutions for you.
Finally, if you really must change the markup that is generated, you can write a custom menu walker, but that requires some knowledge and skill with PHP.
Related Posts:
- Display a portion/ branch of the menu tree using wp_nav_menu()
- Add settings to menu items in the Customizer
- Display only page specific sub menu items using Custom Walker
- Add a .last class to the last in each ul.sub-menu
- Multi Level Bootstrap Navigation Menu in WordPress
- Add class to top level menu item if it has multiple child levels
- Simple Navigation Walker – Wrapper-class around first sub-menu
- Exclude one item from wp_list_pages( $args );
- How to drag multiple menu items at once in WordPress?
- Customizing the a tag with Semantic UI
- Put a wp_nav_menu inside another one
- How to make pages metabox display all hierarchy in menu admin?
- Generate a Menu that displays all child pages of top level parent
- Check if wp_nav_menu items have submenus
- Automatically Add New Tags to Sub-menu
- Nav walker, bootstrap: Display 3rd level items under 2nd level
- Remove nav_menus from customizer using a theme
- how to only add a top-level admin menu without it creating a sub-level-menu
- how to automatically generate hierarchical menus from hierarchy of pages?
- Programmatically adding menu items function replicates in multiple menus
- Handling complex multi-level architecture / menu for large site
- wp_list_pages: only show subpages on the parent page?
- Menus like a CMS
- How to have custom menu Item CSS Classes for wp_page_menu() or wp_list_pages()
- How to add a submenu toggle button inside all “li” elements that have a submenu?
- No “current-menu-ancestor” class added when browsing an archive page
- Main Menu and Sub Menu Items for Footer
- How to construct a custom html for submenus
- Check if menu id = $specific_id – then insert specific
- wp_nav_menu() with multiple Class
- How do you manage large menu hierarchies in WP?
- add_submenu_page function to show videos table
- Trying to Create Menu in WordPress
- How do I add recent posts to the menu?
- Hierarchical menu nesting problem with jQuery targetting
- From a page, is it possible to find entry’s “menu_item_parent”?
- Automatically list top level menu item child pages
- How to retrieve parent menu item name of current submenu item
- Check if menu_item has children or has parent
- Creating a menu containing categories and authors
- Change submenu markup
- Show WordPress Menu On External Site
- How to re-arrange the MENU of “Allure Real Estate Theme for Placester” wordpress theme?
- Switch from hover to click on Twenty Twelve Menu
- Can’t add a setting to the “nav_menus” customizer panel
- a better menu, menu options assistance for WP
- How to highlight 1st level menu item based on actual page
- Adding sub-menu item makes parent item unclickable
- Insert a div class inside wordpress menu
- Add Labels to Admin Menu ( How To )
- Problem adding ‘has-children’ class to wp_nav_menu
- Automatically Display Sub Menu
- How to buid wordpress menu with auto width sub-menu items in dropdown menu without any items sharing one line [closed]
- Add (grand)child pages automatically to nav menu
- Creating menu always gives error A name is required for this term
- Get parents child pages
- How to get submenu of admin menu?
- If current menu item is child or parent with child?
- An alternative to WordPress’s built-in menu functionality
- Dropdown primary navigation menu not working
- Is there any way to change the CSS class applied to 2nd level sub menu ul’s?
- Link after WordPress
- Making the menu toggled open on mobile devices Illustratr theme
- cannot get global $menu value in form request
- Show Sub Menu on click and not hover
- Add Different Class on Different Ul in twenty-twentyone theme
- insert an HTML element if there is a submenu only
- How can I creat custom menu with bootstrap
- wp_nav_menu container style args
- How to work with a custom theme that someone else created before me? (details below)
- How can I click the parent menu then redirect to a special URL?
- use value returned from shortcode as menu item
- Add CSS Class to WordPress Menu Item Dependent on the Page the User is Visiting
- WP Menu editor is hiding options for menu items
- Menu walker: how to tell if a sub menu contains submenus?
- Getting parent object_id of child menu items in WordPress menu
- Incorrect Behavior on WordPress Main Menu
- Generate Submenu based on Parent Page using If Statement
- WordPress menu issue after update
- Importing large product categories into wordpress menu
- Displaying a part of a menu containing the page the user is currently viewing and only it’s immediate children
- I can’t correctly display menu
- how to create pages and link them to a menu
- WordPress Menu Customizer
- Conditional Nav Menu Inside Nav Menu Across Multisite Sites
- Add a Submenu from Another Submenu in a Custom Theme
- How to create a menu super voice in WP?
- Menu support for touch devices
- collapse twenty twelve submenu in mobile version
- Display all submenus
- Change sub-menu css class
- Adding Sub Menu In a theme which Do not have Menu Options
- ID of parent Menu
- How can I alter the visible menu according to which level I am on [closed]
- How was this menu system created?
- How to display a submenu as a popup when clicking a button?
- how to mage the submenu open on wordpress active page
- Display sub menus as separate lists
- nav tag wrapping around dropdown
- Add acf custom fields so sub item in menus