Trouble with calling custom menu
-
Im using the following code to call my menu in the theme:
<?php wp_nav_menu( array( 'container' =>'','fallback_cb' => '', 'depth' => 1, 'theme_location' => 'primary-menu' ) ); ?>
However it doesnt work as it is, only works if I remove the theme_location from the array. What am I doing wrong?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Trouble with calling custom menu’ is closed to new replies.