this code can filter the_posts in category or tag or archive pages