home.php functionality faulty?
Yesterday, I posted to a thread on this issue, but didn’t receive any replies, presumably because the thread was marked as “resolved”.
In summary, the problems I see with not being able to use home.php to acheive a specific layout for the front page are:
- This contradicts the stated template hierarchy. As we all know, when the docs and the code don’t match, developers suffer. Well, I’d been suffering at least half an hour before I stumbled on that forum thread, because I read the docs and trusted them.
- Using a file other than home.php for the “home” page is inelegant: it means that for no good reason, you have to call your home page something other than “home”, or call your home page’s template something other than home.php, or both… just because home.php’s functionality is broken.
There’s already a bug filed about the issue, but I’m not convinced that the solution proposed is the best one. I’d like to gather some opinions, so please add your thoughts below.
Also, for more background on the issue, you might want to read this blog post I wrote about it, which incorporates a log of an IRC chat I had on the subject.
- The topic ‘home.php functionality faulty?’ is closed to new replies.