<?php
/**
* Excerpt Links
* Forces the "Read more" link on excerpts even if
* they are too short to automatically include it
*/
function bsd_excerpt() {
global $post;
$excerpt = get_the_excerpt();
$length = strlen( $excerpt );
$char_count = 140;
?>
<?php if( $length <= $char_count ) : ?>
<p>
<?php echo $excerpt; ?>
<a class="excerpt-read-more" href="<?php get_permalink( $post->ID ); ?>" title="<?php __( 'Read', 'bonestheme' ) . get_the_title($post->ID); ?>">Read more »</a>
</p>
<?php else : ?>
<?php the_excerpt(); ?>
<?php endif; ?>
<?php }
?>