'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 ) { $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 $args['before_widget']; echo $args['before_title']; echo $title; echo $args['after_title']; /** * Widget Content */ ?>