I want to show in my Taxonomy only posts which are in Main Category and Subcategories links - but i need to hide posts which are in Subcategories in main category. Do you know how can i do it?

This is simillar situation: Exclude sub category posts from category display

  • 2
    The link you posted is exactly the same situation. Have you tried any of the 7 answers posted there? – Jacob Peattie Jul 15 '19 at 11:09
  • It doesnt work for me:( – Daniel Jul 15 '19 at 11:29