• 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

Viewing 15 replies - 1 through 15 (of 17 total)
  • Remove <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>.

    Thread Starter intcon

    (@intcon)

    hmm..nope….the home button is still there…..

    but thanks for trying!

    Remember to press CTRL and F5 simultaneously when viewing an updated page/site. Or try emptying your browser cache. This should ensure that your web browser fetches a fresh copy of the page rather than serving up an out-dated copy from your own cache.

    Also disable/deactivate any caching plugin(s).

    Thread Starter intcon

    (@intcon)

    I cleared the cache, did CTRL and F5 and even looked in another browser …..the home button is still there…

    do I need to take out the H1 title line?

    The H1 tag isn’t part of your menu code.

    Thread Starter intcon

    (@intcon)

    well bugger. sorry, I’m not quite sure where else to look…..

    Site url?

    Thread Starter intcon

    (@intcon)

    http://www.jacquelinecorcoran.com/

    thanks esmi….sorry it took me awhile to get back to you….cats needed wrangling. =)

    I can only see 1 Home link in your top navigation menu.

    Thread Starter intcon

    (@intcon)

    The home link is also the same as the about page..the about page is the one I want to be the static page, so I tried to change it to HOME but then I had 2 of them…..I changed it back to about…but if I could get rid of HOME I would change about to home….

    make sense?

    =)

    I feel like I’m going about this the hard way…lol

    Try turning off wp-super-cache.

    Thread Starter intcon

    (@intcon)

    Sorry, I’m explaining this wrong. Currently there is one home button. And one about me button. They’re the same page. I’d really like the about me page to be the static home page, but when I do so, I have what I have now – an about page and a home page that are exactly the same.

    If I change the name on about to home and make it the static page, I have two home buttons.

    Is there any way to have the about page BE the home static page and also be named Home? Or if that doesn’t work, remove the home button and rename the about page Home?

    sorry for not making myself clear. I’ve deleted the cache, restarted my machine and turned off super cache which then said “imploding”….=) yikes. There is only one home button, but it is exactly the same as the about page….i’d like to change that if possible?

    carrie

    Have you actually created & published a page called Home and that set that to be your Home page?

    Is there any way to have the about page BE the home static page and also be named Home?

    Yes – rename the About Page as Home in Edit Page.

    Thread Starter intcon

    (@intcon)

    I changed the about page and renamed it home, that gave me 2 home buttons.

    I can only see 1 Home link on your site still…

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Static Page/Home Page’ is closed to new replies.