[wp-hackers] Difference between is_home and is_front_page

Glenn Ansley glenn at glennansley.com
Thu Jan 22 19:33:41 GMT 2009


If you set your front page to be a page, is_home() refers to your main
index (blog) loop that is the front page by default.
http://codex.wordpress.org/Conditional_Tags
          > Note: If you select a static Page as your frontpage (see
below), this tag will be applied to your "posts page".


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