[ald_default calltag=true]

CODE BANK

a place to bank your code

On-state to parent of the child menu item

If I have areas covered page and CPT locations. When on a location page, areas covered should be highlighted in the nav.

if (is_single()) {<script type="text/javascript">
document.querySelector('.current_page_parent').classList.add('current-menu-item');
</script>
<?php }
Top