[wp-hackers] showposts vs. posts_per_page
banago at gmail.com
Fri Jul 9 18:54:47 UTC 2010
Thansk Otto, very clear explanation.
PS: posts_per_page, not posts_by_page I guess :)
www.wplancer.com | www.banago.info | www.lintuts.com
On 9 July 2010 20:26, Otto <otto at ottodestruct.com> wrote:
> They're identical. showposts is the older argument name. It now gets
> simply copied into posts_by_page.
> You should always use posts_by_page for new code. The "showposts" name
> is sorta deprecated.
> On Fri, Jul 9, 2010 at 1:18 PM, Baki Goxhaj <banago at gmail.com> wrote:
> > Hi hackers,
> > I see very much posts_per_page argument used on loops that don't paginate
> > purpose of creation in stead of showposts. Is there any fundamental
> > difference from the two? If yes, what is it and how much are those to
> > arguments interchangeable?
> > Thanks very much!
> > Baki Goxhaj
> > www.wplancer.com | www.banago.info | www.lintuts.com
> > _______________________________________________
> > 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
More information about the wp-hackers