'activello-recent-posts','description' => esc_html__( "Activello recent posts widget with thumbnails", 'activello') ); parent::__construct('activello_recent_posts', esc_html__('Activello Recent Posts Widget','activello'), $widget_ops); } function widget($args , $instance) { extract($args); $title = isset($instance['title']) ? esc_html( $instance['title'] ) : esc_html__('recent Posts', 'activello'); $limit = isset($instance['limit']) ? esc_html( $instance['limit'] ) : 5; echo $before_widget; echo $before_title; echo $title; echo $after_title; /** * Widget Content */ ?>