/**
 * GMW deprecated function - Excerpt from content.
 * @version 1.0
 * @author Eyal Fitoussi
 */
function gmw_pt_excerpt($gmw, $post)
{
    _deprecated_function('gmw_pt_excerpt', '2.5', 'gmw_excerpt');
    if (!isset($gmw['search_results']['excerpt']['use'])) {
        return;
    }
    gmw_excerpt($post, $gmw, $post->post_content, $gmw['search_results']['excerpt']['count']);
}
예제 #2
0
				<?php 
    }
    ?>
				
				<!--  Excerpt -->
				<?php 
    if (isset($gmw['search_results']['excerpt']['use'])) {
        ?>
					
					<?php 
        do_action('gmw_search_results_before_excerpt', $gmw, $post);
        ?>
					
					<div class="wppl-excerpt">
						<?php 
        gmw_excerpt($post, $gmw, $post->post_content, $gmw['search_results']['excerpt']['count'], $gmw['search_results']['excerpt']['more']);
        ?>
					</div>
				<?php 
    }
    ?>
				
				<?php 
    do_action('gmw_search_results_before_taxonomies', $gmw, $post);
    ?>
				
				<!--  taxonomies -->
				<div id="wppl-taxes-wrapper" class="wppl-taxes-wrapper">
					<?php 
    gmw_pt_taxonomies($gmw, $post);
    ?>