'author_list awp_widget', 'description' => __('Displays author list')); $control_ops = array('width' => 200, 'height' => 250); parent::__construct(false, $name = __('AWP Author List'), $widget_ops, $control_ops ); } function form($instance) { $defaults=array('title' => __('Author List'),'exc'=>'','noauth'=>__('50')); $instance = wp_parse_args( (array) $instance, $defaults ); if ( isset( $instance[ 'title' ] ) ) { $title = $instance[ 'title' ]; } else { $title =$defaults['title']; } if ( isset( $instance[ 'noauth' ] ) ) { $noauth= $instance[ 'noauth' ]; } else { $noauth=$defaults['noauth']; } if ( isset( $instance[ 'exc' ] ) ) { $exc= $instance[ 'exc' ]; } else { $exc=$defaults['exc']; }?>