"menu_id" and "container" problem
-
I am using the
<?php wp_nav_menu( array('container' => 'none', 'menu_id' => 'mother_navi', 'theme_location' => 'primary' ) ); ?>
and here is the result:<div class="menu"> <ul> <li class="page_item page-item-15"><a href="https://localhost/avantajbul/?page_id=15" title="Advertise">Advertise</a></li> <li class="page_item page-item-17"><a href="https://localhost/avantajbul/?page_id=17" title="Write">Write</a></li> <li class="page_item page-item-2"><a href="https://localhost/avantajbul/?page_id=2" title="About">About</a></li> <li class="page_item page-item-20"><a href="https://localhost/avantajbul/?page_id=20" title="Terms">Terms</a></li> </ul> </div>
But i want only this:
<ul id="mother_navi"> <li class="page_item page-item-15"><a href="https://localhost/avantajbul/?page_id=15" title="Advertise">Advertise</a></li> <li class="page_item page-item-17"><a href="https://localhost/avantajbul/?page_id=17" title="Write">Write</a></li> <li class="page_item page-item-2"><a href="https://localhost/avantajbul/?page_id=2" title="About">About</a></li> <li class="page_item page-item-20"><a href="https://localhost/avantajbul/?page_id=20" title="Terms">Terms</a></li> </ul>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘"menu_id" and "container" problem’ is closed to new replies.