krogsgard / happy

Github repository for the Happy theme
27 stars 7 forks source link

happy_remove_entry_title() hiding titles of all posts on front page #8

Closed mattyza closed 12 years ago

mattyza commented 12 years ago

Line 107 of "functions.php":

add_filter ( "{$prefix}_entry_title", 'happy_remove_entry_title' );

When this filter is present, all post titles on the front page and removed. Disabling the filter restores the front page post titles.

I'm not exactly sure of the intention of the filter... perhaps it's been left in as an error, or perhaps the function isn't working as desired?

krogsgard commented 12 years ago

Good call. It would indeed do that on anything else on the home page w/ the 'entry_title' filter. I've used this before when the home page is a page, rather than the blog archive. Probably not good practice anyway, and definitely not for a public theme. I've removed it, and I'll figure out a way to hide the page title for specific page templates moving forward. Thanks!