Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to edit something in my theme but i can't find the file that lists all the blogposts on the homepage. In the 'Reading' settings i have: Front page displays - your latests posts as the chosen option. When i edit index.php i cannot see the changes so that is not it. So what phpfile does wordpress use to generate 'your latest posts' ?

Thanks in advance!

share|improve this question
    
I figured it out...i had the WP Super Cache plugin installed so i couldn't see any changes i was making. So disabling that worked out! –  user1829 Apr 10 '11 at 17:28

1 Answer 1

Glad you got it sorted out, but to answer your original question:

1) The front-page.php template file, if it exists, will be used to generate Front Page content, whether the Front Page is set to display the blog posts index or a static Page.

2) The home.php template file, if it exists, will be used to generate the blog posts Index, whether the blog posts index is displayed on the Front Page or on another static Page. (Note: front-page.php has priority over home.php for the Front Page.)

3) If neither of these template files exist, then index.php is used to generate the blog posts index, whether the blog posts index is displayed on the Front Page or on another static Page.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.