Submit
Path:
~
/
home
/
getwphos
/
www
/
ccma
/
wp-content
/
themes
/
curly
/
framework
/
modules
/
woocommerce
/
templates
/
parts
/
File Content:
image.php
<?php $product = curly_mkdf_return_woocommerce_global_variable(); if ($product->is_on_sale()) { ?> <span class="mkdf-<?php echo esc_attr($class_name); ?>-onsale"><?php esc_html_e('Sale', 'curly'); ?></span> <?php } ?> <?php if (!$product->is_in_stock()) { ?> <span class="mkdf-<?php echo esc_attr($class_name); ?>-out-of-stock"><?php esc_html_e('Sold', 'curly'); ?></span> <?php } $new = get_post_meta(get_the_ID(), 'mkdf_show_new_sign_woo_meta', true); if ($new === 'yes') { ?> <span class="mkdf-<?php echo esc_attr($class_name); ?>-new-product"><?php esc_html_e('New', 'curly'); ?></span> <?php } $product_image_size = 'shop_catalog'; if ($image_size === 'full') { $product_image_size = 'full'; } else if ($image_size === 'square') { $product_image_size = 'curly_mkdf_square'; } else if ($image_size === 'landscape') { $product_image_size = 'curly_mkdf_landscape'; } else if ($image_size === 'portrait') { $product_image_size = 'curly_mkdf_portrait'; } else if ($image_size === 'medium') { $product_image_size = 'medium'; } else if ($image_size === 'large') { $product_image_size = 'large'; } else if ($image_size === 'woocommerce_thumbnail') { $product_image_size = 'woocommerce_thumbnail'; } if (has_post_thumbnail()) { the_post_thumbnail(apply_filters('curly_mkdf_product_list_image_size', $product_image_size)); }
Submit
FILE
FOLDER
Name
Size
Permission
Action
button-price.php
1393 bytes
0644
category.php
379 bytes
0644
excerpt.php
322 bytes
0644
image.php
1369 bytes
0644
no-posts.php
138 bytes
0644
rating.php
565 bytes
0644
title.php
360 bytes
0644
N4ST4R_ID | Naxtarrr