'bro_likebox_widget', 'description' => __( 'Simple Facebook Likebox', 'bromine' ) ) ); } public static function register_likebox() { register_widget( 'BRO_Likebox_Widget' ); } function widget( $args, $instance ) { extract( $args ); $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Find me on Facebook', 'bromine' ) : $instance['title'] ); $width = $instance['width']; $height = $instance['height']; $color = $instance['color']; $faces = $instance['faces']; $stream = $instance['stream']; $header = $instance['header']; $background = $instance['background']; $borderc = $instance['borderc']; $page = $instance['page']; echo $before_widget; if( $title ) echo $before_title . $title . $after_title; ?>