How To Customize Category Nav Bar?
-
Site URL – https://www.sportshaze.com/
Two categories displayed in the nav bar don’t exist on my site. I deleted every category and then was going to add them back on in the right order, but when they were deleted, the nav bar didn’t change.
HTML Code – <?php
if ( function_exists(‘has_nav_menu’) && has_nav_menu(‘secondary-menu’) ) {
wp_nav_menu( array( ‘depth’ => 3, ‘sort_column’ => ‘menu_order’, ‘container’ => ‘ul’, ‘menu_class’ => ‘nav2’, ‘theme_location’ => ‘secondary-menu’ ) );
} else {
?>
<ul class=”nav2″>
<?php
if ( get_option(‘woo_custom_nav_menu’) == ‘true’ ) {
if ( function_exists(‘woo_custom_navigation_output’) )
woo_custom_navigation_output(‘name=Woo Menu 2&depth=3’);} else { ?>
<?php wp_list_categories(‘title_li=’) ?>
<?php } ?><?php } ?>
</div><!–/nav2–>
Any support would be appreciated. Thanks
- The topic ‘How To Customize Category Nav Bar?’ is closed to new replies.