Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3057

    I am trying to find out how I can remove the menu from the home page. I want the page look the same as the others but without a menu. I am a newbie and am going quite crazy trying to figure this out.

    #40472

    Hey,

    in header.pp replace the menu code – (normally):

    <ul id="nav">
    <li <?php if (is_front_page()){echo 'class="current_page_item"';} ?> ><a href="<?php echo get_settings('home'); ?>">Home</a></li>
    <?php wp_list_pages('title_li=&sort_column=menu_order&'.$k_options['general']['com_page']); ?>
    </ul>

    with:

    <?php if (!(is_home())) { ?>
    <ul id="nav">
    <li <?php if (is_front_page()){echo 'class="current_page_item"';} ?> ><a href="<?php echo get_settings('home'); ?>">Home</a></li>
    <?php wp_list_pages('title_li=&sort_column=menu_order&'.$k_options['general']['com_page']); ?>
    </ul>
    <?php } ?>

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

The topic ‘home page’ is closed to new replies.