Sorry but with all these deprecated functions I'm going crazy. I use 2.3.
What I have to do to get a list of the posts inside a category?
I want to also exclude the posts that are inside CHILD categories of THE category I'm getting the posts from.
So, if I list the post of the category "news" I want to exclude all the posts that are inside the category "bad news" that is a "news" child category.