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.
home page
2 posts from 2 voices-
Posted 2 years ago #
-
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 } ?>Posted 2 years ago #
Reply
You must log in to post.














