this function takes the first x words or paragraphs from a long text and displays it as teaser with a "read more" link underneath.
click here to select all the code