[wp-hackers] Difference between is_home and is_front_page

Nathan Rice ncrice at gmail.com
Thu Jan 22 19:31:09 GMT 2009


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

My Website
http://www.nathanrice.net/

My Twitter
http://twitter.com/nathanrice


On Thu, Jan 22, 2009 at 2:27 PM, Dan Gayle <dangayle at gmail.com> wrote:

> Can anyone explain the difference between is_home() and is_front_page()?
>
> They appear to me, from the Codex documentation, that they do the same
> thing.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list