Support » How-To and Troubleshooting » [Resolved] Author Posts Page – exclude posts
5 years ago
I currently have a page template author.php which is almost identical to the Sample Author Page Template. However, how do I control the which posts it generates?
Essentially I would like to exclude categories from which it gets the authors posts; Is this possible?
I have solved this by simply using the query_posts to exclude categories. My author.php now has this line just before the loop starts:
<?php query_posts($query_string . '&cat=-69,-68'); ?>
<?php while (have_posts()) : the_post(); ?>