Added getting posts of selected category.