'comments-avatar', 'description' => __('Display comments with avatar.', 'czsablony')); $control_ops = array( 'width' => 250, 'height' => 350, 'id_base' => 'comments_avatar-widget' ); $this->WP_Widget( 'comments_avatar-widget',__('Recent Comments with avatar', 'czsablony'), $widget_ops, $control_ops); } function widget( $args, $instance ) { extract( $args ); $title = apply_filters('widget_title', $instance['title'] ); $no_of_comments = $instance['no_of_comments']; $avatar_size = $instance['avatar_size']; echo $before_widget; ?>