WordPress: Limit words function