News for hackers. Stuff that matters.
Re:A Rundown of WordPress Theme Files and What They All Do by qeorge on Wednesday May 25, 2011 @12:06PM (#2584444)
This is awesome. One thing I'd add is a note about front-page.php vs. home.php - to me, that's the most unintuitive part of WordPress themes.

If you're setup like a blog, i.e., list of posts on the homepage, than home.php is the root page of the site. However, if you use WordPress for a normal/non-blog site, with a static Page as the root, front-page.php is the file you want to be editing, and home.php will then represent whatever is your "blog page" (regardless of whether its the homepage or not).

If either front-page.php or home.php is not present, index.php will be used.

Re:A Rundown of WordPress Theme Files and What They All Do by daclements on Wednesday May 25, 2011 @09:06PM (#2586219)
Hey George. That's a very good point. I'm going to edit the post and be sure to include this info because it's very valid and helpful.

Cheers mate