[wp-hackers] Difference between is_home and is_front_page

Matt Martz mdmartz at sivel.net
Thu Jan 22 19:38:52 GMT 2009


On Thu, Jan 22, 2009 at 2:31 PM, Nathan Rice <ncrice at gmail.com> wrote:
> is_home is limited in that it only returns true if you are on the ACTUAL
> home page, whereas is_front_page returns true even if you're using a
> specific page as your blog's homepage.
>
> Nathan

Um I think you mean is_home is for checking whether you are on the
posts (blog) page or not...is_front_page is for checking if you are on
the front page, which can, but doesn't have to be the blog page.

-- 
Matt Martz
matt at sivel.net


More information about the wp-hackers mailing list