I comment ou all those lines :
if($this.find('.current-cat.parent-level0, .current-cat, .current-cat-parent').length > 0) {
$this.find('.current-cat.parent-level0, .current-cat-parent').find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();
} else {
//$this.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();
}
It only show first level category, is there a way to show the second level category and not the third ?
Thank you !