Exemplo n.º 1
0
function tbr_modify_post_content($content)
{
    if (function_exists('relevanssi_the_excerpt')) {
        $content = relevanssi_the_excerpt();
    }
    return $content;
}
Exemplo n.º 2
0
>
<?php 
woo_post_inside_before();
if ('content' != $settings['post_content'] && !is_singular()) {
    woo_image('width=' . esc_attr($settings['thumb_w']) . '&height=' . esc_attr($settings['thumb_h']) . '&class=thumbnail ' . esc_attr($settings['thumb_align']));
}
?>
	<header>
		<?php 
the_title($title_before, $title_after);
?>
	</header>
<?php 
woo_post_meta();
?>
	<section class="entry">
	    <?php 
relevanssi_the_excerpt();
?>
	</section><!-- /.entry -->
	<div class="fix"></div>
<?php 
woo_post_inside_after();
?>
</article><!-- /.post -->
<?php 
woo_post_after();
$comm = $settings['comments'];
if (('post' == $comm || 'both' == $comm) && is_single()) {
    comments_template();
}