Support » Themes and Templates » home.php and blog conflict

  • Resolved skeeterz71



    I created a home.php. I set in “reading” to have my blog go to a page I created in the pages area in the admin. What is happening, home.php is showing up on that page. Does anybody know why this is happening. home.php is showing up at home as well.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Your blog is supposed use home.php and whatever page you set your blog to appear at will simply use home.php to populate that page. Think of “your blog” and home.php as being the same thing. It doesn’t really make sense to want you blog to be a static page you created. So even if you include some content in a page your created, if you set that page as your site’s blog, your blog will show up there and not the content you created.

    home.php will show up at the home page unless you specify a different page to be the home page.

    Thanks. I eventually figured out that wordpress will use either home.php or index.php for the blog page. I have both and it chose home.php to display the blog and home page. I renamed home.php and turned it into a template page to set with the “Home” page I created in the admin. Now everything is working right.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘home.php and blog conflict’ is closed to new replies.