Ok, so rather than excluding the page you created, you should delete that first <li>.
Your updated nav should look like:
<div id=”nav”>
<?php wp_list_pages(‘sort_column=menu_order&depth=1&title_li=’); ?>
</div>
Thank you very much for your help. I have sorted that out. I still have one more problem to fix with this too, hope it will be ok.
The “Home” link now works but still the Title I gave the blog is not displayed on the Browser title bar at “Home” page. The other pages do display the Title and the name of their respective pages on the Browser Title bar.
The coding for the title I have at the header.php which is common to all the pages including the “Home” pages is
<title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
The blog Title I set at the General setting should be the one displayed on the Title bar. Why all the other pages are displaying it and this “Home” is not, is what I do not understand. Actually, it is displaying a different name which I am not sure where it is retrieving that one and not the one I set.
Any help will be much appreciated.
Thanks
Just set your title to <?php bloginfo('name'); ?>. No big deal, but when posting code you should put it between backticks (`)
Thanks, but I don’t think this is the problem. It sure do display for the other pages just the “Home” page got a different name. I guess because I named the blog with anaother name before and then I changed it to a different name.
The “home” page is displaying the previous name I set for the title and the other pages are displaying the new name I set. I believe it has nothing to do with the code for the title as it is.
I am wondering about some kind of “Cache” problem, the previous name is still stuck somewhere but not sure.
I read something about the “.htaccess” file but not really sure if it has to do with the name. from the documentation I read to change the “home” page, it talks about resetting or updating “permalink”, and then clear the “.htaccess” file or something.
The “permalink” is the same as it was before, I used a custom one and I don’t understand how that relates to the “.htaccess” file that could be affecting the name on the title bar.
That is my thought, perhaps you can see more into it and let me know if I am in the right track to sort out this. It doesn’t look nice with the “home” having a different title bar display than the rest of the pages, hope I can sort this out with your help or anyone willing to enlighten me on this.
Thanks a lot
It wouldn’t hurt to clear your cache and restart your browser. If that doesn’t work, All in one SEO will let you set your titles. It’s also just a good plugin to have for SEO.
Goodness me !, I was thinking about this SEO thing on my way out earlier today because I could not just put my mind at rest. I thought I need to update it and true to my thoughts, here you are saying the same things.
Thanks a lot, its all sorted now.