@if($decors_category)
    <div class="column category-image">
        @foreach($decors_category as $position => $single_category)
            @php
                $term = $single_category['select_category'];
                $children = get_term_children($term->term_id, 'decors-category');
            @endphp
            @if ($children)
                @foreach($children as $key => $child)
                    @php
                        $get_term_child = get_term_by('id', $child, 'decors-category');
                        $category_image = get_term_meta($child, '_thumbnail_id', true);
                    @endphp
                    @if ($category_image)
                        <a href="{!! get_term_link($child) !!}" class="links desktop"
                            data-category="{!! $child !!}">
                            <img src="{!! wp_get_attachment_url($category_image) !!}" />
                            <span>{!! $get_term_child->name !!}</span>
                        </a>
                    @endif
                @endforeach
            @endif
        @endforeach
    </div>
@endif