'widget_tweets', 'description' => __('A widget to display latest tweets in gazpo theme.', 'gazpo') ); /* Create the widget */ $this->WP_Widget( 'gazpo_twitter_widget', __('Twitter Widget', 'gazpo'), $widget_ops ); } function widget( $args, $instance ) { extract( $args ); /* Our variables from the widget settings. */ $title = apply_filters('widget_title', $instance['title'] ); $username = $instance['username']; echo $before_widget; if ( $title ){ ?>

'Latest Tweets', 'username' => "gazpodotcom" ); $instance = wp_parse_args( (array) $instance, $defaults ); ?>