__( 'Connect your social media!', 'hemingway' ) ) ); $this->networks = apply_filters('LCM_Social_Media_Widget', array( 'facebook' => __('Facebook', 'vantage'), 'twitter' => __('Twitter', 'vantage'), 'google-plus' => __('Google Plus', 'vantage'), 'github' => __('GitHub','vantage'), 'rss' => __('RSS', 'vantage'), )); } public function widget( $args, $instance ) { // outputs the content of the widget echo $args['before_widget']; if(!empty($instance['title'])) { echo $args['before_title'].$instance['title'].$args['after_title']; } foreach($this->networks as $id => $name) { if(!empty($instance[$id])) { ?>>'; ?> 'medium', 'title' => '', 'new_window' => false, ) ); $sizes = apply_filters('vantage_social_widget_sizes', array( 'medium' => __('Medium', 'vantage'), )); ?>



networks as $id => $name) { ?>

/>