[wp-trac] Re: [WordPress Trac] #3682: is_home() returns FALSE when
using a static page as your front page, should return TRUE
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 26 18:14:27 GMT 2007
#3682: is_home() returns FALSE when using a static page as your front page, should
return TRUE
-------------------------+--------------------------------------------------
Reporter: johnbillion | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.1.1
Component: Template | Version: 2.1
Severity: normal | Resolution:
Keywords: is_home |
-------------------------+--------------------------------------------------
Comment (by filosofo):
Actually, is_home() is supposed to return true for the "blog" home page,
where your most recent posts show up, not the "front" home page.
Initially, I didn't like the idea either (shouldn't is_home() be true on
the "home" page?), but now I think it was the right decision. That's
because theme developers create templates that test for "is_home()"; if
you apply it to a page instead of the most recent posts, you usually get
some odd behavior.
--
Ticket URL: <http://trac.wordpress.org/ticket/3682#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list