-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>  
2
  • I want is not a question. Please read How to Ask, then fix this post.
    – fuxia
    Commented Nov 26, 2016 at 14:05
  • 2
    Also, you can easily do this with the items_wrap argument.
    – fuxia
    Commented Nov 26, 2016 at 14:08

1 Answer 1

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 and acknowledge you have read our privacy policy.

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