WordPress.org

Ready to get started?Download WordPress

Forums

Two Home pages after creating a static page - zBench Theme (4 posts)

  1. pshankland
    Member
    Posted 2 years ago #

    Hi, I am using the zBench theme and have added a static home page. The problem is that I now have two home pages and not sure how to get rid of one:

    http://www.kingfishernursery.com/

    Looking around the forums it appears as though I need to edit the header.php file but not sure how.

    Could someone please point me in the right direction?

    Thanks.

    Pete.

  2. pshankland
    Member
    Posted 2 years ago #

    Sorry to bump but anyone got a suggestion?

    Thanks.

  3. pshankland
    Member
    Posted 2 years ago #

    Edit header.php and delete the following:

    <ul><li<?php if (is_home()) echo ' class="current_page_item"'; ?>><a href="<?php echo home_url('/'); ?>"><?php _e('Home', 'zbench'); ?></a></li></ul>

    Thanks to the theme author for this.

    Pete.

  4. terrylund
    Member
    Posted 2 years ago #

    I had the same issue and discovered that if I do not list "Home" in the menu (had to create a custom menu), then the extra Home tab disappears (and the one for the static page remains).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags