Add function for custom excerpt