Posts page not using index.php OR home.php
-
This is a really strange one for me. I modified a theme for our site and got it all up and running on a staging server. In the settings we have the static front page as Home and the posts page as Blog. I’ve made some modifications to index.php and they show up when you view test.mysite.com/blog/ just fine.
I just switched our public site over to this new theme. I uploaded it and made the switch and set the front page to Home and the posts page to Blog, but when I go to http://www.mysite.com/blog/ it isn’t using the index.php page I created before. I don’t have a home.php page in this theme so that isn’t the problem either.
The weird thing is, I don’t even know which template it is using. The posts look like my post in single.php, but it is showing 10 per page like I would expect had it been using index.php.
I’ve tried copying the index.php and renaming it to home.php with no luck.
I’ve read through this article and cannot figure out what the problem might be: http://codex.wordpress.org/Template_Hierarchy
Also searched and read through a bunch of other people who had similar issues and it always turned out to be a simple problem of them not using either index.php or home.php.
Since the theme and settings are exactly the same on both my test.mysite.com and http://www.mysite.com I’ve got to assume there is something outside the themes directory that is causing this to happen.
I’m really struggling here. Anybody have any ideas what the problem might be?
- The topic ‘Posts page not using index.php OR home.php’ is closed to new replies.