define('DISALLOW_FILE_EDIT', true); define('DISALLOW_FILE_MODS', true); /dev/head — Woocommerce: Short description in list products

Woocommerce: Short description in list products

wp-content/plugins/woocommerce/templates/content-product.php

 

<?php
/**
* woocommerce_after_shop_loop_item_title hook
*
* @hooked woocommerce_template_loop_price - 10
*/
do_action( 'woocommerce_after_shop_loop_item_title' );
global $post;
if ( ! $post->post_excerpt ) return;
?>
<div itemprop="description" class="description">
	<?php echo apply_filters( 'woocommerce_short_description', $post->post_excerpt ) ?>
</div>

 

Теги: , ,

Дата: 5 июня 2014

Автор: Аноним

Комментарии: 6