Archive for the ‘troubleshooting’ Category

WordPress – Getting Rid of default home page

Some themes have an automatic “home” button that does not go away when you make a static home page. Here is how to get rid of it.

Change this in the header.php file;

<li <?php if(is_home()){echo ‘class=”current_page_item”‘;}?>>” title=”Home”>Home

<?php wp_list_pages(‘title_li=&depth=1′);?>

To this;

<?php wp_list_pages(‘title_li=&depth=1′);?>

Hope it works!

You are currently browsing the archives for the troubleshooting category.