איך אני מסתיר תת-קטגוריה מלהופיע ברשימת הקטגוריות?

Could use this CSS:

.category .subcategories {
      display: none;
    }

If you also don’t want them listed on the hamburger drop-down menu:

.category .subcategories, .category-links .category-link.subcategory {
  display: none;
}