Code tweaks for #8620
This commit is contained in:
parent
9f7e1f3054
commit
f0b3d2fd9b
|
@ -1,3 +1,4 @@
|
|||
|
||||
<?php
|
||||
/**
|
||||
* WooCommerce Template
|
||||
|
@ -7,7 +8,7 @@
|
|||
* @author WooThemes
|
||||
* @category Core
|
||||
* @package WooCommerce/Functions
|
||||
* @version 2.1.0
|
||||
* @version 2.4.0
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
|
@ -508,6 +509,7 @@ if ( ! function_exists( 'woocommerce_product_loop_end' ) ) {
|
|||
}
|
||||
}
|
||||
if ( ! function_exists( 'woocommerce_template_loop_product_title' ) ) {
|
||||
|
||||
/**
|
||||
* Show the product title in the product loop. By default this is an H3
|
||||
*/
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*
|
||||
* @author WooThemes
|
||||
* @package WooCommerce/Templates
|
||||
* @version 1.6.4
|
||||
* @version 2.4.0
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
|
@ -56,19 +56,14 @@ if ( 0 == $woocommerce_loop['loop'] % $woocommerce_loop['columns'] ) {
|
|||
* @hooked woocommerce_template_loop_product_thumbnail - 10
|
||||
*/
|
||||
do_action( 'woocommerce_before_shop_loop_item_title' );
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
/**
|
||||
* woocommerce_shop_loop_item_title hook
|
||||
*
|
||||
* @hooked woocommerce_template_loop_product_title - 10
|
||||
*/
|
||||
do_action( 'woocommerce_shop_loop_item_title' );
|
||||
?>
|
||||
|
||||
<?php
|
||||
/**
|
||||
* woocommerce_after_shop_loop_item_title hook
|
||||
*
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* Single Product title
|
||||
* Product loop title
|
||||
*
|
||||
* @author WooThemes
|
||||
* @package WooCommerce/Templates
|
||||
* @version 2.3.14
|
||||
* @version 2.4.0
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
|
|
Loading…
Reference in New Issue