I need to get entries which are only in current category, not child categories.
So if I have a category structured like this:
Food ----Fruit -------Apples -------Bananas
I've got a categories template and I'm on the page for the Fruit category I want to know whether there's any entries just in the Fruit category and not all the entries in the Apples and Bananas categories.
Current I'm doing this
But I'm getting all the entries from the children categories as well, how do I get only the entries related to this specific category not child categories?