Use a WP Nav menu or the built in APIs instead. They all have current cat/active/parent highlighting on posts/pages, all out of the box
Use a WP Nav menu or the built in APIs instead. They all have current cat/active/parent highlighting on posts/pages, all out of the box