Create page excerpt in text widget

functions.php + text widget code snippet