'amadeus_about', 'description' => __('About me widget.', 'amadeus')); $control_ops = array('width' => 400, 'height' => 350); parent::__construct('amadeus_about', __('Amadeus: About me', 'amadeus'), $widget_ops, $control_ops); } public function widget( $args, $instance ) { $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ); $image_url = isset( $instance['image_url'] ) ? esc_url($instance['image_url']) : ''; $text = apply_filters( 'widget_text', empty( $instance['text'] ) ? '' : $instance['text'], $instance ); echo $args['before_widget']; if ( $image_url ) { echo '
/>