From 7d393d094153957af30f448dc7bf295fd88b0d68 Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Sat, 22 Aug 2009 16:00:46 -0700 Subject: [PATCH] Remove keenspot newsbox Signed-off-by: Philip M. Hofer (Frumph) --- functions.php | 1 - widgets/keenspotnewsbox.php | 51 ------------------------------------- 2 files changed, 52 deletions(-) delete mode 100644 widgets/keenspotnewsbox.php 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']); - ?> -

-