'', ); function __construct() { $widget_ops = array( 'description' => esc_html__( "Displays the site's social icons.", 'brittany-light' ) ); $control_ops = array(); parent::__construct( 'ci-socials', $name = esc_html__( 'Theme - Social Icons', 'brittany-light' ), $widget_ops, $control_ops ); } function widget( $args, $instance ) { extract( $args ); $instance = wp_parse_args( (array) $instance, $this->defaults ); $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ); echo $before_widget; if ( $title ) { echo $before_title . $title . $after_title; } get_template_part( 'part-social-icons' ); echo $after_widget; } // widget function update( $new_instance, $old_instance ) { $instance = $old_instance; $instance['title'] = sanitize_text_field( $new_instance['title'] ); return $instance; } function form( $instance ) { $instance = wp_parse_args( (array) $instance, $this->defaults ); $title = $instance['title']; ?>

Appearance > Customize > Social Networks and provide the appropriate URLs where desired.", 'brittany-light' ), array( 'strong' => array() ) ); ?>