Ho questa query che restituisce solo alcune delle voci che ho sulla tabella. Ho più di 10 messaggi, ma questa query restituisce solo 6. Si prega di aiutare con suggerimentiWP_Query() non restituisce tutte le voci
$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();
' "L'anno = 2011 & monthnum = 09 & post_status = pubblicare & post_type = post & orderby = POST_DATE & order = DESC"' è la forza trainante nella classe 'WP_Query'. La mia ipotesi sarebbe che 4 dei post non abbiano un anno, un mese o uno stato di pubblicazione corretto. – Xhynk