hi
mit diese ( new WP_Query) kann ich zu mein wordpress sagen:
zeig mir 6 Beiträge von alle Kategorie außer Kategorie(1).
PHP
<?php $top_query = new WP_Query('cat=-1showposts=6'); ?>
<?php while($top_query->have_posts()) : $top_query->the_post(); ?>
all das was man anzeigen lassen mag
<?php endwhile; ?>
ich will noch Kategorie 3,4 ausblinden.
:smile:
so aber leider funktioniert nicht
PHP
<?php $top_query = new WP_Query('cat=-1,3,4showposts=6'); ?>
<?php while($top_query->have_posts()) : $top_query->the_post(); ?>
all das was man anzeigen lassen mag
<?php endwhile; ?>
danke