I get two buttons for Home

Viewing 5 posts - 1 through 5 (of 5 total)
  • #1755
    jcman
    Participant

    Hi, Thanks for your theme. I am practising with it on my pc and I notice that it creates two buttons for home. When I delete one buttom I get an error message. I should host it soon but do not want to host it with two buttons for home. Please help.
    Also I notice that on ie6 browser the page format is disjointed.

    #1756
    Daniel Tara
    Keymaster

    Hi,

    Give some more information about how you use the menu.

    Are you using a custom menu?
    In the custom menu do you see 2 Home links?
    If so, try deleting them both and then adding a new Home link.

    About IE6, somebody send him to Davey Jones!

    #1757
    jcman
    Participant

    okay, there is only one page i created for home but it shows as two pages. I have uploaded the site to help you see . http://www.tanarivercounty.org I made it a static page with no comments. So if I were to delete it then shows an error message page and no other home page appears.

    #1758
    Daniel Tara
    Keymaster

    The problem resides in that you’re using a static page for home. I didn’t took this into account when creating the callback function for the menu and made the home link a static one.

    You have 2 options:

    [list=1][*]Go under Appearance > Menus and create a custom menu (this is what I recommend)[/*]
    [*]Open the file functions.php and delete the line [code]<li<?php if(is_home()) echo ‘ class=”current_page_item”‘; ?>>/”>Home[/code][/*]
    [/list]

    #1759
    jcman
    Participant

    Hi,

    Thanks for the support. I have cleared the double pages! Much appreciated

Viewing 5 posts - 1 through 5 (of 5 total)

Tagged: 

You must be logged in to reply to this topic.