I've excluded a post category from showing up on my blog Page with the following code:
<?php while ( have_posts() ) : the_post() ?>
<?php if ( !(in_category('12')))?>...
<?php endif; ?>
<?php endwhile ?>
This works fine to keep posts from that category from showing up, but wordpress still counts those posts it's skipping over as part of the maximum 5 posts I've set. So if there are two posts from category 12 in the five most recent posts then only three posts are shown.
can someone help me fix this please?