Two ‘Home’ Links in main menu
-
Hi,
I got this fixed by asking here before but a search hasn’t turned up the answer! I made a static front page and have an additional 4 static pages and then my blog page and a contact page. Everything’s good. Except there are now two ‘Home’ links in my main menu. I got rid of one of those before by editing something in the following code but don’t remember the change I made. Can anyone help? I upgraded without doing a site backup and lost style sheets and other modifications! Won’t do THAT again.The site is at https://hatsandscarves.org. The template is Simplex.
<div id=”pagemenu”>
<ul id=”page-list” class=”clearfix”><li <?php if(is_home()){ echo ‘class=”page_item current_page_item”‘; } else { echo ‘class=”page_item”‘; } ?>>” title=”Home” >Home<?php wp_list_pages(‘title_li=’); ?>
</div>`TIA
Bill
- The topic ‘Two ‘Home’ Links in main menu’ is closed to new replies.