@foreach ($categoriesResult as $categoryRow) {{ $categoryRow->name }} Services In {{ $categoryRow->name }}: @foreach ($categoryRow->children()->where('status', '1')->orderBy('weight', 'asc')->orderBy('name', 'asc')->get() as $categoryRowChild) {{ $categoryRowChild->name }} @endforeach @endforeach @if ($formType == 'site-wide') Find a Professional Near You Search @endif @yield('content', 'Default content')