diff --git a/functions.php b/functions.php index 032e38f..6e0e1ab 100755 --- a/functions.php +++ b/functions.php @@ -105,25 +105,23 @@ class snow_panel_widget extends WP_Widget { public $title; public $category; - + /* Set up the widget name and description */ - public function __construct( array $snow_panels ) { + public function __construct( $id, $title, $category ) { $widget_options = array(); $this->title = $title; $this->category = $category; parent::__construct( $id, $title, $widget_options ); } - + /* Create the widget output */ public function widget( $args ) { - echo $args['before_widget'] . $args['before_title'] . $this->title . $args['after_title']; ?>
category . ']'); ?>