Merge pull request #6971 from boohoogal/product-title-template-change

Add span to allow styling of product title in widget product lists
This commit is contained in:
Claudio Sanches 2014-12-19 10:04:20 -02:00
commit acd637eced
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<li> <li>
<a href="<?php echo esc_url( get_permalink( $product->id ) ); ?>" title="<?php echo esc_attr( $product->get_title() ); ?>"> <a href="<?php echo esc_url( get_permalink( $product->id ) ); ?>" title="<?php echo esc_attr( $product->get_title() ); ?>">
<?php echo $product->get_image(); ?> <?php echo $product->get_image(); ?>
<?php echo $product->get_title(); ?> <span class="product-title"><?php echo $product->get_title(); ?></span>
</a> </a>
<?php if ( ! empty( $show_rating ) ) echo $product->get_rating_html(); ?> <?php if ( ! empty( $show_rating ) ) echo $product->get_rating_html(); ?>
<?php echo $product->get_price_html(); ?> <?php echo $product->get_price_html(); ?>