Custom menu

I’ve been digging for documentation on how to change HTML output for the “Custom menu” which you place in optional widget. So its clear what I meen I have attached an image of the widget block here:

The output from this element is looking like this:

<div class="nav_menu-8 widget_nav_menu col-sm-4">
    <div class="menu-expo-container">
        <ul id="menu-expo" class="menu">
            <li><a href="">Test 1</a></li>
            <li><a href="">Test 2</a></li>

It is this code structure I want to change so it fits my needs. How and where do I change it? Is there some code source I can reuse and and to my functions.php?

Read more here: Change HTML structure for custom menu in sidebar


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , , ,

Wordpress related questions and answers: