Static Homepage Navigation

This is a great little bit of code. What it does is create static home page link in your navigation that you could place before your wp_list_pages code, to have an active state on your home page link. This way you can use css to style the “current_page_item” class like for any other page. Here’s the code:


&lt;li class=&quot;page_item "&gt;&lt;a href=&quot;"&gt;Home</a></li>