alexgraham,
The reason for using excerpt on the single post pages is that I need to be able to choose where the text will go. If you have a look at http://www.projektinfo.blog and click on one of the posts, that's how I want it to look. Is there a way of doing this without seperating the images and excerpt and inserting them in a table?
alchymyth,
Thanks heaps for that code! Unfortunately I can't get it to work properly. I've inserted the code and all, but no difference at all...
used
function intro_text($length) {
global $post;
$text = get_the_excerpt($post->ID);
if (strlen($text) > $length) {
$text = substr($text,0,strpos($text,' ',$length)) . ' ... <a href="' . get_permalink() . '">[ read more ]</a>'; } ;
return apply_filters('the_excerpt',$text);
}
with
<?php intro_text(150); ?>
Have no idea why it's not working...
Thanks though!
Hampus