Right now, I am using the following in the header template for my navbar:
<li><a <?php if (is_page('about')) echo('class="current" '); ?>href="<?php bloginfo('url'); ?>/about/">about</a></li>
What it does is highlight the link in the nav bar if the current page is "About". However, I am wondering if there is a way to highlight the link for all pages whose parent is "About".
For example, if a subpage of the "About" parent page is "History", how can I still highlight the "About" link on the navbar?
I hope this makes sense. It's a bit difficult to explain in writing.
Here is the site with the navbar I'm trying to alter. It might illustrate my question better.