In addition to checking if the page has children, also check if it uses a particular template, in this case probably “testimonials”.
<?php e($item->hasChildren() && $item->intendedTemplate() != 'testimonials', ' dropdown')?>
In addition to checking if the page has children, also check if it uses a particular template, in this case probably “testimonials”.
<?php e($item->hasChildren() && $item->intendedTemplate() != 'testimonials', ' dropdown')?>