'jellywp_about_us_widget', 'description' => esc_html__( 'About us and social icons' , 'nanopress') );
parent::__construct('nanopress_about_us_widget', esc_html__('jellywp: Footer about us', 'nanopress'), $widget_ops);
}
/*-----------------------------------------------------------------------------------*/
/* Display Widget
/*-----------------------------------------------------------------------------------*/
function widget($args,$instance){
extract($args);
$title = $instance['title'];
$feed_description = $instance['feed_description'];
$image = $instance['image'];
$facebook = $instance['facebook'];
$google_plus = $instance['google_plus'];
$behance = $instance['behance'];
$vimeo = $instance['vimeo'];
$youtube = $instance['youtube'];
$instagram = $instance['instagram'];
$tumblr = $instance['tumblr'];
$linkedin = $instance['linkedin'];
$pinterest = $instance['pinterest'];
$twitter = $instance['twitter'];
$deviantart = $instance['deviantart'];
$dribble = $instance['dribble'];
$dropbox = $instance['dropbox'];
$rss = $instance['rss'];
$skype = $instance['skype'];
$stumbleupon = $instance['stumbleupon'];
$wordpress = $instance['wordpress'];
$yahoo = $instance['yahoo'];
$flickr = $instance['flickr'];
$sound_cloud = $instance['sound_cloud'];
?>
";
}
/*-----------------------------------------------------------------------------------*/
/* Update Widget
/*-----------------------------------------------------------------------------------*/
function update($new_instance, $old_instance){
$instance = $old_instance;
$instance['title'] = $new_instance['title'];
$instance['feed_description'] = $new_instance['feed_description'];
$instance['image'] = $new_instance['image'];
$instance['facebook'] = $new_instance['facebook'];
$instance['google_plus'] = $new_instance['google_plus'];
$instance['behance'] = $new_instance['behance'];
$instance['vimeo'] = $new_instance['vimeo'];
$instance['youtube'] = $new_instance['youtube'];
$instance['tumblr'] = $new_instance['tumblr'];
$instance['instagram'] = $new_instance['instagram'];
$instance['linkedin'] = $new_instance['linkedin'];
$instance['pinterest'] = $new_instance['pinterest'];
$instance['twitter'] = $new_instance['twitter'];
$instance['blogger'] = $new_instance['blogger'];
$instance['deviantart'] = $new_instance['deviantart'];
$instance['dribble'] = $new_instance['dribble'];
$instance['dropbox'] = $new_instance['dropbox'];
$instance['rss'] = $new_instance['rss'];
$instance['skype'] = $new_instance['skype'];
$instance['stumbleupon'] = $new_instance['stumbleupon'];
$instance['wordpress'] = $new_instance['wordpress'];
$instance['yahoo'] = $new_instance['yahoo'];
$instance['flickr'] = $new_instance['flickr'];
$instance['sound_cloud'] = $new_instance['sound_cloud'];
return $instance;
}
function form($instance){
?>
esc_html__( 'About us' , 'nanopress'), 'feed_description' => 'Mauris mattis auctor cursus. Phasellus tellus tellus, imperdiet ut imperdiet eu, iaculis a sem imperdiet ut imperdiet eu,imperdiet ut imperdiet.' , 'image' => '', 'facebook' => '#', 'google_plus' => '#', 'behance' => '#', 'vimeo' => '#', 'youtube' => '#', 'tumblr' => '#', 'instagram' => '#', 'linkedin' => '#', 'pinterest' => '#', 'twitter' => '#', 'blogger' => '#', 'deviantart' => '#', 'dribble' => '#', 'dropbox' => '#', 'rss' => '#', 'skype' => '#', 'stumbleupon' => '#', 'wordpress' => '#', 'yahoo' => '#', 'flickr' => '#', 'sound_cloud' => '#');
$instance = wp_parse_args((array) $instance, $defaults);
?>