'widget_comicpress_comic_date', 'description' => 'Displays the date of the post of the comic.' ); $this->WP_Widget('comic_date', 'Comic Date', $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'; ?>