document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?php
  2. /**
  3. * FUNCTIONS / THEME INITIALIZATION
  4. *
  5. * This file loads the core framework which handles everything.
  6. *
  7. * @package PageLines Framework
  8. * @since 1.0
  9. *
  10. * @link http://www.pagelines.com/
  11. * @link http://www.pagelines.com/tour
  12. *
  13. * @author PageLines http://www.pagelines.com/
  14. * @copyright Copyright (c) 2008-2012, PageLines hello@pagelines.com
  15. *
  16. * @internal last revised January 20, 2012
  17. * @version ...
  18. *
  19. * @todo Define version
  20. */
  21.  
  22. require_once(get_template_directory() . '/includes/init.php');
  23. remove_action( 'jigoshop_after_shop_loop_item_title' , 'jigoshop_template_loop_price', 10, 2);
  24. add_action( 'jigoshop_after_shop_loop_item_title' , 'jigoshop_template_loop_price_custom', 10, 2);
  25. function jigoshop_template_loop_price_custom( $post, $_product ) {
  26. if ($post->post_excerpt) echo wpautop(wptexturize($post->post_excerpt));
  27. ?><span class="price"><?php echo $_product->get_price_html(); ?></span><?php
');