'CalendarWidget', 'description' => __('Display a calendar showing this months posts. (this calendar does not drop lines if there is no title given.)','comicpress') ); $this->WP_Widget('comicpress_calendar', __('ComicPress Calendar','comicpress'), $widget_ops); } function widget($args, $instance) { global $post, $wp_query; extract($args, EXTR_SKIP); echo $before_widget; if (!empty($instance)) { extract($instance); } ?>