[wp-trac] [WordPress Trac] #22299: posts_per_page value in $wp_query does not work in index.php

WordPress Trac noreply at wordpress.org
Sun Oct 28 02:53:35 UTC 2012


#22299: posts_per_page value in $wp_query does not work in index.php
--------------------------+------------------------------
 Reporter:  alexvorn2     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------

Comment (by alexvorn2):

 Thanks! But this does not work for me.

 I'm working on a drag and drop feature for a theme, so I'm using wp_query
 OR query_posts() [for me they are the same] in a widget, that I'm
 integrating it in the 'general template' that shows in the home and all
 archives pages.

 And in the settings of the widget there is a such option as post per
 page...
 And using a action, seems not a good idea, because I might use TWO or
 loops on the same page (divided by different categories)...

 Hope a core developer would come to the same problem as I in the near
 future.

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


More information about the wp-trac mailing list