diff --git a/functions.php b/functions.php index 28e985a..b0b2601 100644 --- a/functions.php +++ b/functions.php @@ -105,7 +105,6 @@ require_once(get_template_directory() . '/widgets/comicdate.php'); require_once(get_template_directory() . '/widgets/comictitle.php'); require_once(get_template_directory() . '/widgets/comiccomments.php'); require_once(get_template_directory() . '/widgets/menubar.php'); -require_once(get_template_directory() . '/widgets/keenspotnewsbox.php'); // FUNCTIONS & Extra's diff --git a/widgets/keenspotnewsbox.php b/widgets/keenspotnewsbox.php deleted file mode 100644 index 0851a93..0000000 --- a/widgets/keenspotnewsbox.php +++ /dev/null @@ -1,51 +0,0 @@ - 'widget_keenspot_newsbox', 'description' => 'Displays the keenspot newsbox.' ); - $this->WP_Widget('keenspotnewsbox', 'Keenspot Newsbox', $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; }; - echo '
'; - echo $after_widget; - } - - function update($new_instance, $old_instance) { - $instance = $old_instance; - $instance['title'] = strip_tags($new_instance['title']); - return $instance; - } - - function form($instance) { - $instance = wp_parse_args( (array) $instance, array( 'title' => '' ) ); - $title = strip_tags($instance['title']); - ?> -

-