How to add active class to custom menu using while loop and wp_list_pages
Found the answer here: Add class to the items in wp_list_pages Just add <?php if(is_page($post->ID )) {?> class=”current_page_item” <?php }?>. I added it to the <li> that contained my Overview link in the second level <ul class=”children”> as well as the <li> in the top level <ul> if the page doesn’t have children. <?php echo … Read more