PHP Question
PHP Question
Out of context: Reply #5
- Started
- Last post
- 11 Responses
- BattleAxe0
try playing with substr it lets you set a starting point and a character length
so instead of
< ? php the_excerpt(); ? >something like
< ? php $text = the_excerpt();
echo $text = substr ( $text,0,150) ; ? >
0 = start at first position of the post , 150 is the character limit