Similarly, if the Main Category, Hunting (that covered all the topics above), had only one subcategory that was «hunting reports» how would I exclude the posts from the single subcategory in the query?I’ve tried everything using exclude, hierarchy, etc. but all of them ended up listing the posts in the subcat…maybe my syntax was off but I’ve just had no luck and I’m pulling my hair out. I’ve spent three days searching google for something on this topic before finally arriving here!! Everything seems to be about wp_list_categories, which is not what I’m trying to do. I want to exclude posts from a category’s subcats.


Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *