'vinethemes_facebook_widget', 'description' => __('A widget that displays a Facebook Like Box', 'amstel') ); /* Widget control settings. */ $control_ops = array( 'width' => 250, 'height' => 350, 'id_base' => 'vinethemes_facebook_widget' ); /* Create the widget. */ parent::__construct( 'vinethemes_facebook_widget', __('VineThemes: Facebook Like Box', 'amstel'), $widget_ops, $control_ops ); } /** * How to display the widget on the screen. */ function widget( $args, $instance ) { extract( $args ); /* Our variables from the widget settings. */ $title = apply_filters('widget_title', $instance['title'] ); $page_url = $instance['page_url']; $faces = $instance['faces']; $stream = $instance['stream']; $cover = $instance['cover']; /* Before widget (defined by themes). */ echo $before_widget; /* Display the widget title if one was input (before and after defined by themes). */ if ( $title ) echo $before_title . $title . $after_title; ?>
'Find us on Facebook', 'cover' => 'on', 'faces' => 'on', 'page_url' => '', 'stream' => false); $instance = wp_parse_args( (array) $instance, $defaults ); ?>

EG. http://www.facebook.com/envato

/>

/>

/>