add class to mark current page

This commit is contained in:
John Bintz 2009-07-14 12:33:31 -04:00
parent db2b452119
commit 0885249d44

View File

@ -52,7 +52,7 @@
</div>
<ul id="menu">
<li><a href="<?php bloginfo('url') ?>">Home</a></li>
<li <?php if (is_home()) { ?> class="current_page_item"<?php } ?>><a href="<?php bloginfo('url'); ?>">Home</a></li>
<?php wp_list_pages('sort_column=menu_order&depth=4&title_li=') ?>
<li><a href="<?php bloginfo('rss2_url') ?>">Subscribe</a></li>
</ul>