'widget_comicpress_comic_date', 'description' => __('Displays the date of the post of the comic.','comicpress') ); $this->WP_Widget('comic_date', __('Comic Date','comicpress'), $widget_ops); } function widget($args, $instance) { global $post; extract($args, EXTR_SKIP); echo $before_widget; $title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']); if ( !empty( $title ) ) { echo $title; } ?> '', 'format' => '' ) ); $title = strip_tags($instance['title']); $format = strip_tags($instance['format']); if (empty($format)) $format = 'F jS, Y'; ?>