well, i managed to make this work this way:
1.) there was a conflict with the THUMBNAIL FOR EXCERPTS plugin. i deleted it.
2.a) to make use of the built in thumbnail function in WP i added the following to the functions.php:
// Add excerpt thumbnail
if ( function_exists( 'add_theme_support' ) )
add_theme_support( 'post-thumbnails' );
2.b) and i added some more code to the loop:
<div class="post-content">
<?php the_post_thumbnail('thumbnail'); ?>
<?php the_excerpt(); ?>
</div>
3.) and for the manipulation above i changed it to:
function improved_trim_excerpt($text) {
$raw_excerpt = $text;
if ( '' == $text ) {
$text = get_the_content('');
$text = strip_shortcodes( $text );
$text = apply_filters('the_content', $text);
$text = preg_replace('@<script[^>]*?>.*?</script>@si', '', $text);
$text = str_replace(']]>', ']]>', $text);
$text = strip_tags($text, '<a><p><strong><em>');
$excerpt_length = apply_filters('excerpt_length', 70);
$excerpt_more = apply_filters('excerpt_more', ' ' . ' . . . . ');
$words = explode(' ', $text, $excerpt_length + 1);
if (count($words) > $excerpt_length) {
array_pop($words);
$text = implode(' ', $words);
$text = $text . $excerpt_more;
}
}
return apply_filters('wp_trim_excerpt', $text, $raw_excerpt);
}
remove_filter('get_the_excerpt', 'wp_trim_excerpt');
add_filter('get_the_excerpt', 'improved_trim_excerpt');
I found these snippets at kremalicious and aaronrussell – thank you guys ??
I AM STILL HAVING TROUBLES DISPLAYING THE OBFUSCATED EMAIL !!!
i tried adding the mailto: tag — no changes .. ??