Ich mache diese Abfrage
$args = array( 'posts_per_page' => '-1', 'post_type' => 'custom_post_type', 'post_status' => 'publish' ); query_posts( $args );
aber es funktioniert nicht
Ich habe rund 800 Beiträge in diesem benutzerdefinierten Typ und die function query_posts funktioniert nur, wenn posts_per_page <519. Ich weiß, ist seltsam, aber wenn ich das tue
$args = array( 'posts_per_page' => '518', //or any lower number 'post_type' => 'custom_post_type', 'post_status' => 'publish' ); query_posts( $args );
es funktioniert, aber nicht mit
$args = array( 'posts_per_page' => '519', //or bigger 'post_type' => 'custom_post_type', 'post_status' => 'publish' ); query_posts( $args );
Irgendein Vorschlag???
Vielen Dank