Display only post types that are direct children of the current taxonomy
I have a hieratical category structure using Taxonomies, with a custom post displayed within them.
Currently the higher level categories display all the posts that are in their child categories. How do I make it only list from the current category only and not their children.
I'm currently using the default code.
?php if (have_posts()) : while (have_posts()) : the_post(); ?
I'm not a programmer and have not been ably to find anything with an exact or close enough match for me to work it out.
Topic custom-post-type-archives custom-taxonomy custom-post-types Wordpress
Category Web