WordPress.org

Ready to get started?Download WordPress

Forums

Static Home Page Appears Twice in Navigator Bar (2 posts)

  1. pbal
    Member
    Posted 7 years ago #

    I'm using CSSFreak Theme, which has a navigator bar. If I asign a static Page as my home page, the 'Home' link in the bar works, but the Page also appears in the bar as whatever I happen to title it. I'm hoping some one can provide a hack to prevent this from happening. Here is the code from header.php that, I think, creates the navigator:

    <div id="navigator">

      <li id="home">">Home
      <?php wp_list_pages('title_li=&depth=1'); ?>

    </div>

    To get a look what I'm talking about, the blog is at http://www.laurelight.com/view
    Note where "Home" appears twice in the nav-bar.

    Thanks any and all for your advice.

  2. pbal
    Member
    Posted 7 years ago #

    Sorry. I guess the system read the code instead of pasting it. There should be a (ul) after the div id, then the second line following li id=home reads:

    (a href="(?php echo get_settings(home); ?)")Home(/a)(/li)

    then the ul closes before the div closes. Hope that's a little clearer than mud. Obviously, someone's not real good at even posting code, let alone writing it.

Topic Closed

This topic has been closed to new replies.

About this Topic