Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: