Support » Themes and Templates » Static home page on SimpleX theme

  • Hi, I’m trying to use a static front page on this theme, but I end up with two “Home” menu items. It’s kind of annoying. I know I can “fix” it by deleting some code in the theme or by using wp_page_menu and adjusting CSS, but I’d rather not start making my own code modifications. Is there some trick to getting the extra “Home” link to not display if I’m using a static home page?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey copperblade

    Had that problem in my blog too, but i removed this code: <li><a href="<?php bloginfo('url'); ?>">Home</a></li>
    and the sticky home was gone.
    it’s usually in nav div.

    WP Voyager


    Not that I know of.

    There may be a way to change up the index.php file, so that the root page itself is turned into a static page. Then, you could make a custom page template for a page named “Blog”. That page would call the WordPress Loop, and display all of your posts.

    The only problem with this option? It requires even more of a code modification to your theme than the original solution 🙂

    So, unless you want to make some more custom templates, I would suggest following the other hack.

    Either way, I hope it works for you.
    –MindBlender 3D

    P.S. If you wanted to, you could probably get on the WP-Pro mailing list, and ask for someone to mod your theme for you there.

    the easiest way to stop a function in your theme…but leave the code in case you change your mind later is to comment it out

    for instance…to edit out a home page link:
    <!-- <a href="<?php bloginfo('url'); ?>">Home</a></li> -->

    Ok thanks guys. I’ll probably end up just taking out that extra Home list item somehow.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Static home page on SimpleX theme’ is closed to new replies.