Monday, June 22, 2015
Wednesday, June 03, 2015
Mystile: Change Recent Products in Woocommerce
Mystile: theme-woocommerce.php (includes/theme-woocommerce.php)
Caranya :
Dashboard -> Appearance ->Editor -> ->Template ->
Bahagian
Dashboard -> Appearance ->Editor -> ->Template ->
theme-woocommerce.php
function mystile_recent_products() {
global $woo_options;
if (class_exists('woocommerce') && $woo_options[ 'woo_homepage_products' ] == "true" ) {
echo '
'.__('Recent Products-Test', 'woothemes').'
';
$productsperpage = $woo_options['woo_homepage_products_perpage'];
echo do_shortcode('[recent_products per_page="'.$productsperpage.'"]');
} // End query to see if products should be displayed
}
Subscribe to:
Posts (Atom)
Pengurusan Air Untuk Ternak Ikan Air Tawar
Kriteria Air Berkualiti - Kimia: Kandungan Oksigen Terlarut (DO): Lebih daripada 4.0 mg/l (Disyorkan lebih daripada 5.0 mg/l) pH: 6.5 - 8....