That’s the trickiest part I think, cause you’d have to convert the original 500-word excerpt into an array of words, and then take a number of elements in the array to write it out again word for word, until you reach the number of words you want.
I wouldn’t be able to explain the full details but I would say that’s the theory behind it.
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".