Twenty Twelve: Homepage page template
|Reported by:||obenland||Owned by:||lancewillett|
So I looked at the code of homepage.php and wondered whether there would be a better solution to altering the display of text than echoing a class name after a conditional.
The code I came up with, doesn't change the end appearance but reuses the content-page.php template, reduces the CSS a little and removes the addition of an unused body class.
I know it's a lot of changes, but I think it is worth it.
Change History (7)
comment:4 @lancewillett — 3 years ago
- Owner set to lancewillett
- Resolution set to fixed
- Status changed from new to closed