<?php
/**
* FUNCTIONS / THEME INITIALIZATION
*
* This file loads the core framework which handles everything.
*
* @package PageLines Framework
* @since 1.0
*
* @link http://www.pagelines.com/
* @link http://www.pagelines.com/tour
*
* @author PageLines http://www.pagelines.com/
* @copyright Copyright (c) 2008-2012, PageLines hello@pagelines.com
*
* @internal last revised January 20, 2012
* @version ...
*
* @todo Define version
*/
require_once(get_template_directory() . '/includes/init.php');
remove_action( 'jigoshop_after_shop_loop_item_title' , 'jigoshop_template_loop_price', 10, 2);
add_action( 'jigoshop_after_shop_loop_item_title' , 'jigoshop_template_loop_price_custom', 10, 2);
function jigoshop_template_loop_price_custom( $post, $_product ) {
if ($post->post_excerpt) echo wpautop(wptexturize($post->post_excerpt));
?><span class="price"><?php echo $_product->get_price_html(); ?></span><?php