added support for category and tag related posts