WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Two home pages on Vigilance Theme-which piece of html to delete please? (7 posts)

  1. AmethystZ
    Member
    Posted 4 years ago #

    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]

  2. esmi
    Forum Moderator
    Posted 4 years ago #

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

  3. AmethystZ
    Member
    Posted 4 years ago #

    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

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    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();?>

  5. AmethystZ
    Member
    Posted 4 years ago #

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

  6. pratibha
    Member
    Posted 4 years ago #

    Yes it works. Thanx a lot.

  7. OneProsperity
    Member
    Posted 4 years ago #

    Awesome, thanks so much - took me awhile to find this :)

Topic Closed

This topic has been closed to new replies.

About this Topic