I have a pure css menu at the header of my blog and am trying to get it to highlight the current page with the css class "current". I have the code:
I thought that this would work but it spits out this ugly error:Parse error: parse error, unexpected T_STRING, expecting '(' in .....
<li><?php if is_page() echo class="active" ?></li>
Any ideas? Did I code it wrong? Thanks.