Added support for posts in categories