Ejemplo n.º 1
0
</a></h2>
											<?php 
            if (function_exists('sharing_display')) {
                remove_filter('the_excerpt', 'sharing_display', 19);
            }
            ?>



											<div class="slide-summary lead">
												<?php 
            $slogan = bre_get_carousel_slogan($post_id);
            if (strlen($slogan) > 0) {
                echo do_shortcode($slogan);
            } elseif (function_exists('tcp_the_excerpt')) {
                echo tcp_the_excerpt($post_id, get_option('bre_carousel_excerpt_length', 50));
            } else {
                bre_the_excerpt($post_id, get_option('bre_carousel_excerpt_length', 50));
            }
            ?>
											</div>

											<div class="wrapper-prices">

											</div><!-- .wrapper-prices -->

											<?php 
            if (function_exists('tcp_is_saleable') && tcp_is_saleable($post_id)) {
                ?>
												<?php 
                if (!get_option('bre_carousel_hide_more_details', false)) {
Ejemplo n.º 2
0
        ?>
				<?php 
    }
    ?>

					<?php 
    remove_filter('the_excerpt', 'sharing_display', 19);
    ?>

				<?php 
    if ($see_excerpt) {
        ?>
					<div class="tcp-product-summary">
						<?php 
        //the_excerpt();
        tcp_the_excerpt(get_the_ID(), $excerpt_length);
        ?>
					</div><!-- .tcp-product-summary -->
				<?php 
    }
    ?>

				<?php 
    if (tcp_is_saleable() && $see_buy_button) {
        ?>
					<div class="tcp-product-buybutton">
						<?php 
        tcp_the_buy_button();
        ?>
					</div>
				<?php