'corpo_tabbed_widget', 'description' => __('Displays tabbed list of popular posts, recent posts & comments', 'corpo') ); /* Widget control settings. */ $control_ops = array( 'width' => 250, 'height' => 350, 'id_base' => 'corpo_tabbed_widget' ); /* Create the widget. */ $this->WP_Widget( 'corpo_tabbed_widget', __('Corpo: Popular posts Tabbed widget', 'corpo'), $widget_ops, $control_ops ); } /** * How to display the widget on the screen. */ function widget( $args, $instance ) { extract( $args ); /* Our variables from the widget settings. */ $number = $instance['number']; ?>
3); $instance = wp_parse_args( (array) $instance, $defaults ); ?>