'thdFollowContact', 'description' => __('Sketch Themes widget for Follow Us and Contact Info - bizstudio footer','bizstudio-lite') ); parent::__construct( 'thdFollowcontactwidget', // Base ID __('Follow Us and Contact Info -','bizstudio-lite'), // Name $widget_ops ); // Args } /** constructor */ function ThdFollowContactWidget() { global $themename; $widget_ops = array('classname' => 'thdFollowContact', 'description' => __('Sketch Themes widget for Follow Us and Contact Info - bizstudio footer','bizstudio-lite') ); $this->WP_Widget('thdFollowcontactwidget',__('Follow Us and Contact Info -','bizstudio-lite'). $themename ,$widget_ops); } /** @see WP_Widget::widget */ function widget($args, $instance) { extract( $args ); $title = esc_attr($instance['title']); if(empty($title)) { $title=__('Get in Touch','bizstudio-lite'); } $contact_phone = esc_attr($instance['contact_phone']); $contact_mail = esc_attr($instance['contact_mail']); $contact_address = esc_attr($instance['contact_address']); $contact_extra_info = esc_attr($instance['contact_extra_info']); $follow_linkedin = esc_attr($instance['follow_linkedin']); $follow_facebook = esc_attr($instance['follow_facebook']); $follow_twitter = esc_attr($instance['follow_twitter']); $follow_flickr = esc_attr($instance['follow_flickr']); $follow_skype = esc_attr($instance['follow_skype']); $follow_googleplus = esc_attr($instance['follow_googleplus']); $follow_instagram = esc_attr($instance['follow_instagram']); $follow_vk = esc_attr($instance['follow_vk']); $follow_whatsapp = esc_attr($instance['follow_whatsapp']); $follow_pininterest = esc_attr($instance['follow_pininterest']); $follow_vimeo = esc_attr($instance['follow_vimeo']); ?>