Thanks for all your help esmi. Your example here was a part solution and got me on the right track. Didn’t work out completely for me, but this did:
<h2 class=”post_title”>“rel=”bookmark”><?php $s = substr(the_title(”,”,FALSE),0,30); ?>
<?php echo $s; if (strlen($s) >29){ echo ‘…’; } ?></h2>
once again, cheers!
that’s of course one plan. But I think I’d like a “…” after the allowed amount of characters. Like creating a php-function of sorts.
checked the “strlen” & “substr” functions. could you help me creating a simple function using these??
It would be greatly appreciated.
http://www.paratumredovisning.se/
&
http://www.paratumredovisning.se/bloggen
I want the top “Läs mer” (Read more) to be aligned with one another. Have tried to put them in a separate div underneath, but can’t without affecting the loop in some way. my solution is to limit the amount of characters in the title…, so that it only can be like… 25 or so, and stay short of two rows.