Support
Support » Themes and Templates » drop down menu in custom theme
(@narjis)
10 years, 6 months ago
I am trying to make drop down menus in my custom theme but they are not showing. Can anybody tell me which link to follow in order to make custome menus like in twentytwelve theme. Thanks in advance
(@anevins)
WCLDN 2018 Contributor | Volunteer support
What PHP are you using to generate the menu?
<?php wp_nav_menu( array( 'menu'=>'Main menu', 'container'=>'', 'theme_location' => 'primary', 'menu_class' => '', 'items_wrap' => '<ul class="nav nav-justified">%3$s</ul>') ); ?>
I’ve put this in header.php