(frumph) This will show all blogposts from any category except the which allows users to choose and have any number of different blog categories

This commit is contained in:
John Bintz 2009-06-15 22:32:41 -04:00
parent 2115ae8a09
commit a73be47214

View File

@ -53,7 +53,7 @@
<?php } ?>
<?php $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); $wp_query->query('showposts='.$blog_postcount.'&cat='.$blogcat.'&paged='.$paged);
<?php $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); $wp_query->query('showposts='.$blog_postcount.'&cat=-'.$comiccat.'&paged='.$paged);
while ($wp_query->have_posts()) : $wp_query->the_post() ?>
<div class="post-head"></div>
<div class="post" id="post-<?php the_ID() ?>">