try to show posts according to category