Static Page/Home Page
-
Hi all..
I’m using Bodhi theme, and want to use a static page instead of the blog posts. No problem, I set it to point to static page. Now I have two Home pages. The first one is automatic, and points to the blog posts. The second is the new one I made. =) uck.
Can I get rid of the original home page?
I’m guessing it’s part of this code from header.php
<div id="wrap"> <div id="header"> <div id="navbar"><ul> <li class="<?php if ( is_home() or is_archive() or is_single() or is_paged() or is_search() or (function_exists('is_tag') and is_tag()) ) { ?>current_page_item<?php } else { ?>page_item<?php } ?>"><a title="Get back Home" href="<?php echo get_settings('home'); ?>"><?php _e('Home'); ?></a></li> <?php wp_list_pages('sort_column=id&depth=1&title_li='); ?><?php wp_register('<li>','</li>'); ?> </ul></div> <div class="row"> <h1><a title="Get back to root" href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <div class="des"><?php bloginfo('description'); ?></div> </div> </div>
or will that throw off the entire navigation?
thanks!
carrie
- The topic ‘Static Page/Home Page’ is closed to new replies.