Need help with using selected class with includes...
I'm using PHP includes for my site and in the header include I have my main navigation - so it's drawn in to whatever page the user goes to from header.php.
I want to have a 'selected' <li> class for the navigation so the relevant button is highlighted depending on which page/section the user is on...
How would I go about implementing it into header.php - is there a way I can put a bit of PHP in each of the pages to make the appropiate <li> in header.php use the 'selected' class?
Thank you and I hope to hear from you.