0xsec Shell
0xSec


Server : LiteSpeed
System : Linux webbox1.ncrdns.net 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
User : rahcos ( 1533)
PHP Version : 8.4.23
Disable Function : NONE
Directory :  /home/rahcos/.trash/wp-content/themes/hara/woocommerce/item-categories/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/rahcos/.trash/wp-content/themes/hara/woocommerce/item-categories/cat.php
<?php

$cat_id         =   $cat->term_id;
$cat_name       =   $cat->name;
$cat_slug       =   $cat->slug;
$cat_count      =   $cat->count;

$thumbnail_id = get_term_meta($cat_id, 'thumbnail_id', true);

?>

<div class="item-cat">
    <?php if (!empty($image)) { ?>
        <a class="cat-img tbay-image-loaded" href="<?php echo esc_url(get_term_link($cat->slug, 'product_cat')); ?>">
        	<?php echo wp_get_attachment_image($thumbnail_id, 'full'); ?>
        </a>
    <?php } ?>

    <a class="cat-name" href="<?php echo esc_url(get_term_link($cat_slug, 'product_cat')); ?>">
        <?php echo trim($cat_name); ?>
        <span class="count-item">(<?php echo trim($cat_count).' '.apply_filters('hara_tbay_categories_count_item', esc_html__('products', 'hara')); ?>)</span>

    </a>


</div>

c0oded By c0rpz