'admired_widget_text', 'description' => __('Text Widget with Two Columns.','admired')); $control_ops = array('width' => 400, 'height' => 350); $this->WP_Widget('admired_text', __('Admired Text 2','admired'), $widget_ops, $control_ops); } function widget( $args, $instance ) { extract($args); $title = apply_filters( 'widget_title', empty($instance['title']) ? '' : $instance['title'], $instance, $this->id_base); $text = apply_filters( 'admired_text', $instance['text'], $instance ); $text2 = apply_filters( 'admired_text', $instance['text2'], $instance ); echo $before_widget; if ( !empty( $title ) ) { echo $before_title . $title . $after_title; } ?>
'', 'text' => '', 'text2' => '', 'filter' => 0) ); $title = strip_tags($instance['title']); $text = format_to_edit($instance['text']); $text2 = format_to_edit($instance['text2']); ?>
/>