'widget_calendar sp_widget_calendar', 'description' => __( 'A calendar of your site’s Events.') ); parent::__construct('sp_calendar', __('Events Calendar'), $widget_ops); } function widget( $args, $instance ) { extract($args); $title = apply_filters('widget_title', empty($instance['title']) ? '' : $instance['title'], $instance, $this->id_base); echo $before_widget; if ( $title ) echo $before_title . $title . $after_title; echo '