[wp-hackers] showposts vs. posts_per_page

Otto otto at ottodestruct.com
Fri Jul 9 18:26:24 UTC 2010

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 by
> 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

More information about the wp-hackers mailing list