added get_excerpt_by_id function