• Resolved Munirah

    (@munirah)


    My “home” page link is not clicking. I changed the Homepage to a static page and moved the recent blog list that is usually the homepage to another page. Following the insturctions I found on the documentation for this.

    There was double “Home” pages in the navigation list and I excluded the new page I created but still have the page displayed as the Homepage.

    The problem is when I click on the “Home” link in the Navigation list it does not Click which means the Link is not Activated somehow, . I have not idea what the problem is I have tried every thing I know but still have been unable to solve this.

    I comment out the “Home” link for instance and have another of the Links in it place, that particular link also become deactivated even though it was clickable before I comment out the “Home” code link.

    This is how the codes for the Navigation bar looks, hope someone can help to resolve this. I am just finding my feet in wordpress,

    <div id=”nav”>

      <li class=”<?php if (((is_home()) && !(is_paged())) or (is_archive()) or (is_single()) or (is_paged()) or (is_search())) { ?>current_page_item<?php } else { ?>page_item<?php } ?>”>“>Home

      <?php wp_list_pages(‘exclude=278&sort_column=menu_order&depth=1&title_li=’); ?>

    </div>

    Here is the link to the page

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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>

    Thread Starter Munirah

    (@munirah)

    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 (`)

    Thread Starter Munirah

    (@munirah)

    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.

    Thread Starter Munirah

    (@munirah)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Home link not Clickable’ is closed to new replies.