Two Home Page Links
-
I have created a static front page, however now I have two home page links. In my case, Home and Welcome are the same. I have read the documentation related to “Creating a Static Front Page” and it does mention that this problem may occur and how to fix it in the wp_list_pages in the header template.
This is the html code I have found that I think is relevant.
<ul id ="navbar"> <li <?php if ( is_home() || is_single() || is_archive() ) { echo ' class="current_page_item"'; } ?>><a>'>Home</a> <?php wp_list_pages('depth=1&title_li'); ?> </div>
[Please post code snippets between backticks or use the code button.]
Which part do I delete to only have one home page link?
I am using the WorldOWeb Theme
Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Two Home Page Links’ is closed to new replies.