'activello-cats','description' => esc_html__( "Activello widget to display categories" ,'activello') ); parent::__construct('activello-cats', esc_html__('Activello Categories','activello'), $widget_ops); } function widget($args , $instance) { extract($args); $title = isset($instance['title']) ? esc_html( $instance['title'] ) : esc_html__('Categories' , 'activello'); $enable_count = isset( $instance['enable_count'] ) ? $instance['enable_count'] : ''; $limit = isset($instance['limit']) ? esc_html( $instance['limit'] ) : 4; echo $before_widget; echo $before_title; echo $title; echo $after_title; /** * Widget Content */ ?>