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