 Specific category removal using 'exclude=' statement for classipress 3.2.1?
 Specific category removal using 'exclude=' statement for classipress 3.2.1?
				
				
                
                    
                    
                
                
                    
						
                
                
                    Hi,
I have a category structure like so:
Parent - Antiques & Collectables
   Sub-Cat - Antiques
      Sub-sub Cat - Antique Clocks
         Sub-sub-sub Cat - Birch Cuckoo Clock 
This is how it displays on the Category menu list, the Category search drop down list and also the Category directory listing page.
I would like the ability to remove certain categories from showing at all. Specifically in my case the 3rd and 4th sub categories, so all that show on the Category menu/Category search drop down and Category directory page would be the Parent and first Sub-category.
This has been possible to achieve in the past using exclude= statment in the following code:
 $cats = get_terms('ad_cat', 'hide_empty=0&hierarchical=0&pad_counts=1&exclude=57,197&show_count='.$cp_cat_parent_count.'&orderby='.$cp_cat_orderby.'&order=ASC');
Unfortunately the code doesn't exist in Classipress 3.2.1 anymore, so I cannot implement this method of category removal like you could in previous versions.
Could someone help me please?
Kind regards
Bleem