[wp-hackers] front-page.php always overrides home.php?

Chip Bennett chip at chipbennett.net
Fri Nov 19 22:06:45 UTC 2010


"$wp_query->is_posts_*page*"?

ay de mi! oy vey!

This whole posts-vs-pages nomenclature maybe should have been thought out a
bit more thoroughly...

Chip

On Fri, Nov 19, 2010 at 4:00 PM, Otto <otto at ottodestruct.com> wrote:

> No argument here. All this got hashed out back around 2.1, I doubt
> anybody's looked at it since.
>
> BTW, we already have $wp_query->is_posts_page. You can use that to
> figure out where the main posts are. It doesn't have a function call
> for it though.
>
> -Otto
>
>
> On Fri, Nov 19, 2010 at 3:55 PM, Chip Bennett <chip at chipbennett.net>
> wrote:
> > True.
> >
> > But by the same token: how many Themes were using "get_header()",
> > "get_footer()", and "comments_template()" without supplying the template
> > files? That was deprecated several releases prior to 3.0, in which legacy
> > Theme support was finally removed. The same could be done for "is_home()"
> > and "home.php", right?
> >
> > Chip
> >
> > On Fri, Nov 19, 2010 at 3:51 PM, Otto <otto at ottodestruct.com> wrote:
> >
> >> On Fri, Nov 19, 2010 at 3:50 PM, Chip Bennett <chip at chipbennett.net>
> >> wrote:
> >> > (Just for my own edification; I'm still new to most of this) isn't
> that
> >> the
> >> > whole point of *deprecation*?
> >> >
> >> > It wouldn't be the first (or most impactful) change-by-deprecation in
> >> > WordPress. :)
> >>
> >> There are a frackin' LOT of themes using is_home().
> >>
> >> If you want to argue for breaking them all, hey, on your own head be it.
> ;)
> >>
> >> -Otto
> >> _______________________________________________
> >> wp-hackers mailing list
> >> wp-hackers at lists.automattic.com
> >> http://lists.automattic.com/mailman/listinfo/wp-hackers
> >>
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> 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