Hi Shawn,
I’m having a few problems implementing your code snippet. I can get the […More…] tag out but how do I add the href attribute to the tag?
When pasting your snippet I got a couple of errors around the line with
! $morelink = '<a>ID) . '"
Looks like there’s a few extra chars slipping in there!
So far I’ve got:
$words = explode(' ', $text, $excerpt_length + 1);
if (count($words) > $excerpt_length) {
array_pop($words);
/* array_push($words, '[...]'); */
$morelink = '<a>'.'
[...More...]</a>';
array_push($words, $morelink);
$text = implode(' ', $words);
}
where do I go from here?