function thesis_teaser_excerpt($post_count, $post_image) { echo "\t\t\t\t<div class=\"format_teaser entry-content\">\n"; thesis_hook_before_teaser($post_count); #hook if ($post_image['show'] && $post_image['y'] == 'before-post') { echo $post_image['output']; } the_excerpt(); thesis_hook_after_teaser($post_count); #hook echo "\t\t\t\t</div>\n"; }
function thesis_teaser_excerpt($post_count, $post_image) { echo ' <div class="format_teaser entry-content">' . "\n"; thesis_hook_before_teaser($post_count); if ($post_image['show'] && $post_image['y'] == 'before-post') { echo $post_image['output']; } the_excerpt(); thesis_hook_after_teaser($post_count); echo ' </div>' . "\n"; }