esc_html__( 'Displays author short info.', 'blogbyte' ) ) ); $this->social_networks = apply_filters( 'blogbyte_author_widget_social_networks', array( 'facebook', 'twitter', 'linkedin', 'instagram', 'pinterest', 'youtube', 'tiktok', 'twitch', 'vk', 'whatsapp', 'amazon', 'codepen', 'dropbox', 'flickr', 'vimeo', 'spotify', 'github', 'reddit', 'skype', 'soundcloud', ) ); add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_assets' ) ); } /** * Outputs the content for the current widget instance. * * @since 1.0.0 * * @param array $args Display arguments. * @param array $instance Saved values from database. */ public function widget( $args, $instance ) { echo $args['before_widget']; if ( $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ) ) { echo $args['before_title'] . $title . $args['after_title']; } $style = isset( $instance['style'] ) ? $instance['style'] : 'style_1'; $image_border_radius = isset( $instance['image_border_radius'] ) ? (bool) $instance['image_border_radius'] : false; $small_image = isset( $instance['small_image'] ) ? (bool) $instance['small_image'] : false; $image_size = 'blogbyte-medium-img'; if ( $image_border_radius ) { $image_size = 'blogbyte-square-img'; $style .= ' rd-visible'; } if ( $small_image ) { $style .= ' img-small'; } $social_link_class = ' reset-list-style blogbyte-social-icons '; $social_link_style = isset( $instance['social_links_style'] ) ? $instance['social_links_style'] : 'style_1'; $social_link_style .= blogbyte_get_social_icons_class( $social_link_style ); $social_link_color = isset( $instance['social_links_color'] ) ? $instance['social_links_color'] : 'theme_color'; $social_link_class .= $social_link_style . ' ' . $social_link_color; $wrapper_class = $style; $inverted_block_color = isset( $instance['inverted_block_color'] ) ? (bool) $instance['inverted_block_color'] : false; // Inverted Color. if ( $inverted_block_color ) { $wrapper_class .= ' saga-block-inverted-color'; } do_action( 'blogbyte_before_author_info' ); ?>
>
>
>