13 reputation
2
bio website
location
age
visits member for 1 year, 7 months
seen Apr 3 at 9:46

Apr
5
awarded  Scholar
Apr
5
comment Nav Walker current menu item not displaying
Boom! this solves it. Thanks very much :)
Apr
5
accepted Nav Walker current menu item not displaying
Apr
5
comment Nav Walker current menu item not displaying
Can you give me a bit more detail on that please? I've dropped 'echo' => '0' in the top version which hides it. For the 2nd instance of the nav, do I have the same, full code with 'echo' => '$nav'? or just <?php echo $nav; ?>? Or something else? I've tried those 2 things and neither solved it. Thanks for the help.
Apr
3
comment Nav Walker current menu item not displaying
Sadly no, that didn't work. Thank you for help on this by the way.
Apr
3
comment Nav Walker current menu item not displaying
Okay, I've discovered that if I place the wp-nav-menu array in header.php, I get current-menu-item to display but my site design has the same menu code in sidebar.php and it doesn't work - any suggestions on how to fix this? header.php was the original position for the menu in the starter theme framework.
Apr
3
comment Nav Walker current menu item not displaying
I've deleted the walker line in the array and still no current-menu-item. I've also tried replacing the whole array block with the default version from the wp codex and no joy.
Apr
2
awarded  Student
Apr
2
asked Nav Walker current menu item not displaying