'widget_comicpress_comictitle', 'description' => __('Displays the title of the comic. (used in comic sidebars)','comicpress') ); $this->WP_Widget('comictitle', __('Comic Title','comicpress'), $widget_ops); } function widget($args, $instance) { global $post; extract($args, EXTR_SKIP); echo $before_widget; the_title(); echo $after_widget; } function update($new_instance, $old_instance) { $instance = $old_instance; return $instance; } function form($instance) { } } register_widget('widget_comicpress_comictitle'); function widget_comicpress_comictitle_init() { new widget_comicpress_comictitle(); } add_action('widgets_init', 'widget_comicpress_comictitle_init'); ?>