i have this navbar markup below, what is the easiest way to manipulate my HTML or CSS, that when the user is in /contact.php then my <li> contact would change to <li class="active">Contact</li>.
<ul>
<li class="active"> HOME </li>
<li> CONTACT</li>
</ul>
im not sure if my logic is correct. but this is what im thinking
if(isset($_GET) == '.../contact.php') {
// change Markup here
}
also, please be informed that im using wordpress. there might be some wordpress ways i might not be aware of ..