[wp-trac] [WordPress Trac] #15962: Category 'posts_per_page' being ignored in query_posts when 'Blog pages show at most' set to 10

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 23 13:24:15 UTC 2010


#15962: Category 'posts_per_page' being ignored in query_posts when 'Blog pages
show at most' set to 10
--------------------------+------------------------------
 Reporter:  tawilson      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:  3.0.3
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 The request is parsed earlier, so the control doesn't even get to
 `query_posts` in this case.

 You need to use `query_string` filter like in
 [http://wordpress.org/support/topic/single-post-homepages-in-
 13a?replies=23#post-67536 Ryan's example], or perhaps use a plugin like
 [http://wordpress.org/extend/plugins/cbnet-different-posts-per-page/
 Different Posts Per Page].

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15962#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list