'600', // px
'height' => '600', // px
'crop' => 1 // true
);
$single = array(
'width' => '600', // px
'height' => '600', // px
'crop' => 1 // true
);
$thumbnail = array(
'width' => '600', // px
'height' => '600', // px
'crop' => 0 // false
);
// Image sizes
update_option( 'shop_catalog_image_size', $catalog ); // Product category thumbs
update_option( 'shop_single_image_size', $single ); // Single product image
update_option( 'shop_thumbnail_image_size', $thumbnail ); // Image gallery thumbs
}
//Custom Hooking for Product Loop Page Items.
function plum_before_wc_title() {
echo "
";
}
add_action('woocommerce_before_shop_loop_item_title', 'plum_before_wc_title', 15);
function plum_after_wc_title() {
echo "
";
}
add_action('woocommerce_after_shop_loop_item_title', 'plum_after_wc_title');
/**
* Remove the "shop" title on the main shop page
*/
function plum_woo_hide_page_title() {
return false;
}
add_filter( 'woocommerce_show_page_title' , 'plum_woo_hide_page_title' );
/**
* Change the Breadcrumb
*/
add_filter( 'woocommerce_breadcrumb_defaults', 'plum_change_breadcrumb_delimiter' );
function plum_change_breadcrumb_delimiter( $defaults ) {
// Change the breadcrumb delimeter from '/' to '>>'
$defaults['delimiter'] = '
cart->cart_contents_count, 'plum'), WC()->cart->cart_contents_count);?>
cart->get_cart_total(); ?>