<?php if($categories->isNotEmpty()): ?>
    <div class="widget-box bg-surface categories">
        <?php if($config['name']): ?>
            <div class="h7 fw-7 text-black"><?php echo BaseHelper::clean($config['name']); ?></div>
        <?php endif; ?>

        <ul>
            <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li>
                    <a href="<?php echo e($category->url); ?>" class="categories-item">
                        <span><?php echo e($category->name); ?></span>
                        <span>(<?php echo e(number_format($category->posts_count)); ?>)</span>
                    </a>
                </li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    </div>
<?php endif; ?>
<?php /**PATH /home/agriwurd/capitalpropertiesandresidence.com/platform/themes/homzen/////widgets/blog-categories/templates/frontend.blade.php ENDPATH**/ ?>