• Resolved jankdc

    (@jankdc)


    I looked at this post but I need more explaination.
    Here is some code in my header.php file. Can someone tell me what I should change.

    <h1><a href=\\"<?php echo get_settings('home'); ?>\\"><?php bloginfo('name'); ?></a></h1>
    
    <h2><?php bloginfo('description'); ?></h2>
    
    </div>
    
    <?php if (is_page()) { $highlight = \\"\\"; } else {$highlight = \\"current\\"; } ?>
    
    <div id=\\"mainmenu\\">
    <ul class=\\"level1\\">
    <li class=\\"<?php echo $highlight; ?>\\"><a href=\\"<?php echo get_settings('home'); ?>\\"><?php _e('Home','andreas09'); ?></a></li>
    <?php
        if(function_exists(\\"wp_andreas09_nav\\")) {
          wp_andreas09_nav(\\"sort_column=menu_order&list_tag=0&show_all_parents=1&show_root=1\\");
        }
    ?>
    </div>

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter jankdc

    (@jankdc)

    My site is https://spinalalignment.com/

    Thanks

    I had a quick look into your source code. It looks like this:

    <li class=\"\"><a href=\"https://spinalalignment.com\">Home</a></li>
    <li class=' current' ><a href='https://spinalalignment.com' title='Home'>Home</a></li>

    One of these lines should be enough.

    May be it helps to uncomment the first line for testing purposes like this:

    <?php /* <li>...<li> */ ?>

    I never had a look into this theme but may be it helps because the function “wp_andreas09_nav” seems to insert a “home” link already.

    If it helps you can delete the uncommented line.

    I fixed this in a different theme…from my experience it seems to happen when the theme has a home button built-in and then you set a static page as a homepage…you have a link taking you to the default home and then a link taking you to the page.

    It looks like you have more problems with that theme than just the extra home button though…the sidebar is all out of alignment…overlapping images and buttons. It may not be worth the time to fix the button unless you are ready to address some other issues…may be better to just look for another theme.

    Steve

    Thread Starter jankdc

    (@jankdc)

    Fob, it worked. Thanks.

    ekusteve, it looks fine in firefox and ie7, ie6 on the other hand. I see what you mean. I like the layout and have already spent a lot of time invested into this theme. any thoughts on where to look for the other issues?

    I not that good with css, but I would guess that is where your problems are. The link below is to a screen shot of what I see in IE7.

    https://www.georgetownprofessor.net/webpage.png

    Steve

    Thread Starter jankdc

    (@jankdc)

    Crap, I know that it looks bad in IE6, but I thought that IE7 was ok. Thanks for letting me know.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Two home pages in WP 2.1’ is closed to new replies.