dnnymynr
Member
Posted 3 years ago #
I'm using a template that had the navigation button for the blog in it. I'm trying to remove it as the site I'm building will be static, not a blog.
I can't find it, it doesnt show up on my pages list. Any idea on how to find it and remove it?
The url is http://www.adreampool.com
Hi
Most likely you will find this in /wp-content/themes/{themename}/header.php
search for Blog You will find an <li> tag containing the word Blog, followed by a line that includes wp_list_pages. leave the line with wp_list_pages. Remove the line above it, including the beginning <li> and its closing </li>. That will remove the blog item
belindajohnstone
Member
Posted 3 years ago #
I wanted to do this too, I found and removed that line and the nav looks perfect (blog gone), but the post appears to be stuck as the index page... now getting a 404 for the removed blog post as my index page. I have to actually click on the home page link to see the home page (it is saying page_id=2 even though I have it set to be page 1) Any ideas?
Is there something else I was supposed to delete to remove the blog.