Re: Detecting if you are on a specific sub nav
Here’s something else I was trying to create. This would be great for theme devs. Basically wanted to merge the user nav and subnav together. This code works great but I’m not sure how to only show the subnav when on the parent user nav. This code just outputs everything. I got as far as showing only the first link by wrapping echo in an if statement because when you click a parent link you are in essence on the firs subnav.