????
| Current Path : /home2/morganrand/www/wp-content/themes/wanderfuls/partials/blog/ |
| Current File : /home2/morganrand/www/wp-content/themes/wanderfuls/partials/blog/blog-entry-content.php |
<?php
/**
* Blog entry layout
*
* @package Wanderfuls WordPress theme
* @subpackage Partials
* @version 3.0.0
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Should we check for the more tag?
$check_more_tag = apply_filters( 'tb_check_more_tag', true ); ?>
<div class="blog-entry-excerpt clr">
<?php
// Display excerpt if auto excerpts are enabled in the admin
if ( tb_get_mod( 'blog_exceprt', true ) ) :
// Check if the post tag is using the "more" tag
if ( $check_more_tag && strpos( get_the_content(), 'more-link' ) ) :
// Display the content up to the more tag
the_content( '', '…' );
// Otherwise display custom excerpt
else :
// Display custom excerpt
tb_excerpt( array(
'length' => tb_excerpt_length(),
) );
endif;
// If excerpts are disabled, display full content
else :
the_content( '', '…' );
endif; ?>
</div><!-- .blog-entry-excerpt -->