[resolved] home.php and blog conflict (3 posts)

  1. skeeterz71
    Posted 1 year ago #


    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.


  2. awa4000
    Posted 1 year ago #

    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.

  3. skeeterz71
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.