Exlude category using get_option
-
I have a code like this in my index ,archives etc..
<?php $page_num = $paged; if ($pagenum='') $pagenum =1; query_posts('showposts=16&paged='.$page_num); ?> <?php if ( have_posts() ) : ?>
But I have a custom blog template and I want to display blog posts only on blog template how can I exlude category using this option? get_cat_id(get_option(‘mtn_blogcategory’)
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Exlude category using get_option’ is closed to new replies.