芝麻web文件管理V1.00
编辑当前文件:/home/seolotod/critterchoice.com/wp-content/themes/rehub-theme/inc/parts/woogridimage.php
get_type() =='external') ? true : false;?> add_to_cart_url(); $wootarget = ' target="_blank" rel="nofollow sponsored"';?> ID); $wootarget = '';?> is_on_sale()) : ?> get_regular_price() && is_numeric($product->get_regular_price()) && $product->get_regular_price() !=0 && is_numeric($product->get_price()) ) { $percentage = round( ( ( $product->get_regular_price() - $product->get_price() ) / $product->get_regular_price() ) * 100 ); } if ($percentage && $percentage>0 && !$product->is_type( 'variable' )) { $sales_html = '
' . $percentage . '%
'; $classes[] = 'prodonsale'; } ?>
is_on_sale()) : ?> get_regular_price() && is_numeric($product->get_regular_price()) && $product->get_regular_price() !=0) { $percentage = round( ( ( $product->get_regular_price() - $product->get_price() ) / $product->get_regular_price() ) * 100 ); } if ($percentage && $percentage>0 && !$product->is_type( 'variable' )) { $sales_html = apply_filters( 'woocommerce_sale_flash', '
- ' . $percentage . '%
', $post, $product ); } else { $sales_html = apply_filters( 'woocommerce_sale_flash', '
' . esc_html__( 'Sale!', 'rehub-theme' ) . '
', $post, $product ); } ?>
> use_thumb = true; $showimg->no_thumb = rehub_woocommerce_placeholder_img_src(''); $showimg->width = (int)$custom_img_width; $showimg->height = (int)$custom_img_height; $showimg->show_resized_image(); ?>