0

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!

  • 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
3

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy