Hey guys…. i have this in my theme index.php works well but how do i add another category so its contents do not show up on front page
Here is the code i have , content from category with id 8 do not show up i want to add id 10 and 12 how do i add that on the below code..
<?php if ( have_posts() ) : query_posts($query_string .’&cat=-8′); while ( have_posts() ) : the_post(); ?>
<?php $custom_fields = get_post_custom(); //custom fields ?>
- The topic ‘Post content from one category only on front page !!!’ is closed to new replies.