(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
1 changed files with 2 additions and 2 deletions

View File

@ -53,8 +53,8 @@
<?php } ?>
<?php $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); $wp_query->query('showposts='.$blog_postcount.'&cat='.$blogcat.'&paged='.$paged);
while ($wp_query->have_posts()) : $wp_query->the_post() ?>
<?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() ?>">
<h3>