children()->published(); // only show the menu if items are available if($items->count()): ?>