This is my code to get the latest posts (6 is not a category, is how many posts are displayed):
<?php get_archives(‘postbypost’,’6′,’html’); ?>
I tried, before that:
<?php if (in_category(‘1’)) continue; ?>
No luck with any.
This is because I don’t want the asides titles showing there.
- The topic ‘Exclude Category from Recent Posts in sidebar’ is closed to new replies.