'widget_comicpress_permalink', 'description' => 'Displays a permalink.' ); $this->WP_Widget('permalink', 'Permalink', $widget_ops); } function widget($args, $instance) { global $post; extract($args, EXTR_SKIP); echo $before_widget; $title = empty($instance['title']) ? 'Permalink' : apply_filters('widget_title', $instance['title']); ?> '' , 'comment' => '') ); $title = strip_tags($instance['title']); $comment = strip_tags($instance['comment']); ?>