-3

Currently Menu is Like this=>

<div class="menu-footer-container">
    <ul id="menu-footer" class="menu">
        <li id="menu-item-1526" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1526">About-us</a</li>
        <li id="menu-item-1527" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1527">Terms &#038; Conditions</li>
        <li id="menu-item-1555" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1555">Faq</li>
        <li id="menu-item-1528" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1528">Requirement</li>
    </ul>
</div>

I want it like this

<div class="menu-footer-container">
    <ul id="menu-footer" class="menu">
        <li id="menu-item-1526" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1526">About-us</a</li>
        <li id="menu-item-1527" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1527">Terms &#038; Conditions</li>
        <li id="menu-item-1555" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1555">Faq</li>
        <li id="menu-item-1528" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1528">Requirement</li>
    </ul>
    <div id="MYDIV">
    </div>
</div>  
1

As toscho mentioned this can be done with the items_wrap argument. It would be something like this:

'items_wrap' => '<ul id="%1$s">%3$s</ul><div id="MYDIV"></div>'

For more info see here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.