I’m working on a theme (Newspaper) and I’ve started customizing the category.php page and the myloop.php
Coming from the c# style of programming for me is really hard to get the WP coding style.
I’ve read how have_posts() works but I cannot find where the query filters are specified. Is there a standard function used? Is it achieved in some other way?
The myloop.php file
My final purpose is to filter only for the posts which are directly in the current category but NOT in a child of the current category