I have this query that returns only a few of the entries I have on the table. I have over 10 posts but this query only returns 6. Please help with suggestions
$query = new WP_Query("year=2011&monthnum=09&post_status=publish&post_type=post&orderby=post_date&order=DESC");
while ($query->have_posts()):
$query->the_post();
$title=get_the_Title();
echo"<p><input type="checkbox" name="MyArticle[]" value="".get_the_ID()."">".get_the_Title()."</p>";
endwhile;
wp_reset_query();
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…