__CLASS__, 'description' => __('Displays a link to click to trigger a random comic.','comicpress') ); $this->WP_Widget(__CLASS__, __('ComicPress Random Comic Link','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 $before_title . $title . $after_title; }; ?>