Nav menu not appearing on category pages
-
I’ve noticed that the theme hides the nav menu (topbar) on Category pages. Is there a workaround that fixes this issue easily?
I don’t see anything in header.php that would prevent it from showing on category pages:
<?php if ( has_nav_menu('topbar') ): ?> <nav class="nav-container group" id="nav-topbar"> <div class="nav-toggle"><i class="fa fa-bars"></i></div> <div class="nav-text"><!-- put your mobile menu text here --></div> <div class="nav-wrap container"><?php wp_nav_menu(array('theme_location'=>'topbar','menu_class'=>'nav container-inner group','container'=>'','menu_id' => '','fallback_cb'=> false)); ?></div>
Since there’s not a category.php page, I’m assuming that it’s failing back to archive.php. In archive.php there also doesn’t appear to be anything that would cause the nav to disappear.
Thanks for any help!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Nav menu not appearing on category pages’ is closed to new replies.