Double Home
-
Hi, I make a website in WordPress. When I added a new page called Home it seems that I suddenly have two subnavigations called Home. It looks like that one Home is hard coded, how can I delete this one?
When I look in the Theme editor at the header.php I see the following code:
`<div id=”navigation”>
- “>Home
<?php
$pages = get_option(‘sil_pages_include’);
if($pages) {
if(strtolower($pages) == “all”) {
wp_list_pages(‘title_li=&depth=1’);
} else {
wp_list_pages(‘title_li=&depth=1&include=’.$pages);
}
} else {
wp_list_pages(‘title_li=&depth=1&number=8’);
}
?></div>
</div>What should I delete? I have tried some options but get a “bad request”
Hope you van help me!
- The topic ‘Double Home’ is closed to new replies.