[resolved] Getting rid of the default home page (blog) (3 posts)

  1. lynnp08
    Posted 7 years ago #

    Hello. I've researched this problem, but not found an answer that works with the most recent version of WP yet. I would like a static front page (Welcome) and do not want a blog page. How do I get rid of WPs standard Blog page. When I choose that I want my front page to be a static page and choose "Welcome" that is all well and good, but I still have a "Home" page in my menu at the top. I want to get rid of that "Home" menu. I've found this answer:

    Changing this in the header.php file;

      <li <?php if(is_home()){echo 'class="current_page_item"';}?>>" title="Home">Home
      <?php wp_list_pages('title_li=&depth=1');?>

    To this;

    • <?php wp_list_pages('title_li=&depth=1');?>

    ...achieves your goal. I can not speak to the "big picture" consequences of doing this, if any, but if you are happy with your home page and blog page settings, I have confirmed that this will remove the home tab as you desire. A second opinion would be welcome.

    But that does not seem to be the same code I find in this latest version and it does not work for me.
    This is the site I am working on: http://www.affordableresumehelp.com

    I am currently using the ProNews theme.

    Any help would be appreciated. I'm fairly new to Word Press and how it works.

  2. lynnp08
    Posted 7 years ago #

    I resolved this on my own!

  3. atholucc
    Posted 7 years ago #

    Hi. The solution you mentioned above worked for me.

    I replaced this line in my header php:

    <li <?php if(is_home()){echo 'class="current_page_item"';}?>>" title="Home">Home
    <?php wp_list_pages('title_li=&depth=1');?>

    with this line:

    <?php wp_list_pages('title_li=&depth=1');?>

    I'm using the Deep Silent theme and you can see my site at


Topic Closed

This topic has been closed to new replies.

About this Topic