Getting rid of the default home page (blog)
-
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: https://www.affordableresumehelp.comI am currently using the ProNews theme.
Any help would be appreciated. I’m fairly new to Word Press and how it works.
- The topic ‘Getting rid of the default home page (blog)’ is closed to new replies.