[wp-trac] Re: [WordPress Trac] #3682: is_home() returns FALSE when
using a static page as your front page
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 24 20:36:09 GMT 2007
#3682: is_home() returns FALSE when using a static page as your front page
--------------------------------------+-------------------------------------
Reporter: johnbillion | Owner: anonymous
Type: defect | Status: reopened
Priority: high | Milestone: 2.3
Component: Template | Version: 2.1
Severity: normal | Resolution:
Keywords: dev-feedback 2nd-opinion |
--------------------------------------+-------------------------------------
Comment (by Nazgul):
I'd suggest:
* Make is_home return true on a static frontpage (what people expect)
* Make is_home return true for the blog homepage as well (current
behaviour)
* Introduce an is_blog_as_home and is_page_as_home function which can be
used to distinguish between the two.
--
Ticket URL: <http://trac.wordpress.org/ticket/3682#comment:27>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list