Support » Fixing WordPress » Two home pages on Vigilance Theme-which piece of html to delete please?

  • Resolved AmethystZ

    (@amethystz)


    Hi folks,
    I am running the theme Vigilance on the site http://www.mysticoak.com.au but it is coming up with two Home pages and I assume the Header.php is governing that. Can anyone tell me please which piece of html below I cut out so that I just ahve one Home page?
    Thanks,
    Ziggy

    [Code moderated as per the Forum Rules. Please use the pastebin]

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

    (@esmi)

    Forum Moderator

    I can only see 1 Home link on your site currently.

    Sorry, I was just playing trying to see if I could get it down to one. The only way to do that I found is to delete the static home page so that Vigilance uses it’s own home page but that makes it a blog page.
    Any ideas on which bit of html to delete in the Vigilance theme to get rid of it pointing to itself as the Home page?
    Smiles,
    Ziggy

    esmi

    (@esmi)

    Forum Moderator

    Try editing header.php. You need to look for, and delete:

    <li class="page_item "><a href="<?php bloginfo('url');?>">Home</a></li>

    It should be immediately before <?php wp_list_pages();?>

    Yeah! It works! Thanks so much Esmi. I very much appreciate that!
    Many smiles,
    Ziggy

    Yes it works. Thanx a lot.

    Awesome, thanks so much – took me awhile to find this 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Two home pages on Vigilance Theme-which piece of html to delete please?’ is closed to new replies.