[wp-hackers] Difference between is_home and is_front_page

Nathan Rice ncrice at gmail.com
Thu Jan 22 19:44:06 GMT 2009


It's also worth noting that the is_front_page() function was introduced in
WordPress 2.5 (I believe), so using it in any version prior will result in a
"function does not exist" error.
Not that anyone here would still be using the 2.3 branch.  I just thought it
was worth noting, just in case.

Nathan


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