Refine Categories (Side Bar) - how to exclude sub categories
Hi,
When searched, currently the side bar "Refine Search" showing all the categories and sub-categories which make the page looks extremely long.
How do I modify the code to make it only display the main categories ONLY (not the sub-categories)?
I may not be looking at the right place but here is what I can see on the Side bar.php -- Any suggestion please?
<div id="refine-categories">
<h4><?php _e ( 'Manufacturers', APP_TD ); ?></h4>
<?php the_refine_category_ui(); ?>
</div>
Many Thanks