esc_html__('This widget show author informations', '99fy'), 'customize_selective_refresh' => true, ); parent:: __construct('NNfy_Author_About_Widget', esc_html__( 'NNfy: Author Informations', '99fy'), $widget_options ); } /** * Front-end display of widget. * * @see WP_Widget::widget() * * @param array $args Widget arguments. * @param array $instance Saved values from database. */ public function widget($args, $instance){ $image = isset( $instance['image'] ) ? $instance['image'] : ''; $title = isset( $instance['title'] ) ? $instance['title'] : ''; $content = isset( $instance['content'] ) ? $instance['content'] : ''; $social_title = isset( $instance['social_title'] ) ? $instance['social_title'] : ''; $facebook = isset( $instance['facebook'] ) ? $instance['facebook'] : ''; $google = isset( $instance['google'] ) ? $instance['google'] : ''; $twitter = isset( $instance['twitter'] ) ? $instance['twitter'] : ''; $youtube = isset( $instance['youtube'] ) ? $instance['youtube'] : ''; $linked = isset( $instance['linked'] ) ? $instance['linked'] : ''; $pinterest = isset( $instance['pinterest'] ) ? $instance['pinterest'] : ''; $instagram = isset( $instance['instagram'] ) ? $instance['instagram'] : ''; ?>