(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:
parent
2115ae8a09
commit
a73be47214
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
<?php } ?>
|
<?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() ?>
|
while ($wp_query->have_posts()) : $wp_query->the_post() ?>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post" id="post-<?php the_ID() ?>">
|
<div class="post" id="post-<?php the_ID() ?>">
|
||||||
|
Loading…
Reference in New Issue
Block a user