function woocommerce_my_custom_excerpt($post) { global $post; echo '<div class="post-content woo-post-content">'; if ($post->post_excerpt) { echo do_shortcode(wpautop(wptexturize($post->post_excerpt))); } else { echo wpautop(wptexturize(dez_get_custom_the_excerpt(30))); } echo '</div>'; }
function meso_jigo_add_post_right_div_content() { global $post, $_product; $the_postexcerpt = dez_get_custom_the_excerpt(40); $postright = ''; $postright .= '<div class="post-content">'; if ($post->post_excerpt) { $postright .= do_shortcode(wpautop(wptexturize($post->post_excerpt))); } else { if (strlen($the_postexcerpt) > 5) { $postright .= wpautop(wptexturize(dez_get_custom_the_excerpt(40))); } } $postright .= '</div>'; echo $postright; }
?> <span class="feat_comment"><?php comments_popup_link(__('No Comment', 'mesocolumn'), __('1 Comment', 'mesocolumn'), __('% Comments', 'mesocolumn')); ?> </span><?php } $getmodtime = get_the_modified_time(); if (!$getmodtime) { $modtime = '<span class="date updated meta-no-display">' . get_the_time('c') . '</span>'; } else { $modtime = '<span class="date updated meta-no-display">' . get_the_modified_time('c') . '</span>'; } echo $modtime; ?> </div> <?php do_action('bp_after_feat_meta'); ?> <?php $post_custom_excerpt = get_theme_mod('feat_text_count'); if ($post_custom_excerpt == '0') { } else { ?> <div class="entry-content feat-content"><?php echo dez_get_custom_the_excerpt($post_custom_excerpt, ''); ?> </div><?php } ?> </div>
the_title_attribute(); ?> "><?php the_title(); ?> </a></h2> <?php get_template_part('lib/templates/post-meta'); ?> <?php do_action('bp_before_post_content'); ?> <div class="post-content"> <div class="entry-content"><?php echo dez_get_custom_the_excerpt($archive_excerpt); ?> </div> <?php if ($excerpt_moretext != 'disable') { ?> <div class="post-more"><a href="<?php the_permalink(); ?> " title="<?php the_title_attribute(); ?> "><?php echo stripcslashes($excerpt_moretext); ?> </a></div><?php
the_permalink(); ?> " title="<?php the_title_attribute(); ?> "><?php echo the_title(); ?> </a><?php if ($post_regular_price) { echo '<span class="pricebox">' . $woo_cur_symbol . $post_regular_price . '</span>'; } ?> </h3> <p><?php echo dez_get_custom_the_excerpt(30); ?> </p> <a href="<?php the_permalink(); ?> " title="<?php _e('Continue reading ', 'mesocolumn'); echo the_title_attribute(); ?> " class="open"></a> </div> <?php } wp_reset_query(); ?>
"><?php echo the_time(get_option('date_format')); ?> </abbr></span> <span class="feat_comment"><?php comments_popup_link(__('No Comment', TEMPLATE_DOMAIN), __('1 Comment', TEMPLATE_DOMAIN), __('% Comments', TEMPLATE_DOMAIN)); ?> </span> </div> <?php $getmodtime = get_the_modified_time(); if (!$getmodtime) { $modtime = '<span class="date updated meta-no-display">' . get_the_time('c') . '</span>'; } else { $modtime = '<span class="date updated meta-no-display">' . get_the_modified_time('c') . '</span>'; } echo $modtime; ?> <?php $archive_excerpt = get_theme_option('post_custom_excerpt'); if ($archive_excerpt != '0' || $archive_excerpt != '') { ?> <div class="entry-content feat-content"><?php echo dez_get_custom_the_excerpt(15); ?> </div> <?php } ?> </div>