social_services_array = apply_filters( 'ocean_social_widget_profiles', array( 'twitter' => array( 'name' => 'Twitter', 'url' => '', ), 'facebook' => array( 'name' => 'Facebook', 'url' => '', ), 'instagram' => array( 'name' => 'Instagram', 'url' => '', ), 'linkedin' => array( 'name' => 'LinkedIn', 'url' => '', ), 'pinterest' => array( 'name' => 'Pinterest', 'url' => '', ), 'yelp' => array( 'name' => 'Yelp', 'url' => '', ), 'dribbble' => array( 'name' => 'Dribbble', 'url' => '', ), 'flickr' => array( 'name' => 'Flickr', 'url' => '', ), 'vk' => array( 'name' => 'VK', 'url' => '', ), 'github' => array( 'name' => 'GitHub', 'url' => '', ), 'tumblr' => array( 'name' => 'Tumblr', 'url' => '', ), 'skype' => array( 'name' => 'Skype', 'url' => '', ), 'trello' => array( 'name' => 'Trello', 'url' => '', ), 'foursquare' => array( 'name' => 'Foursquare', 'url' => '', ), 'xing' => array( 'name' => 'Xing', 'url' => '', ), 'vimeo' => array( 'name' => 'Vimeo', 'url' => '', ), 'vine' => array( 'name' => 'Vine', 'url' => '', ), 'youtube' => array( 'name' => 'Youtube', 'url' => '', ), 'rss' => array( 'name' => 'RSS', 'url' => '', ), 'telegram' => array( 'name' => 'Telegram', 'url' => '' ), 'twitch' => array( 'name' => 'Twitch', 'url' => '' ), 'line' => array( 'name' => 'Line', 'url' => '' ), 'tripadvisor' => array( 'name' => 'Tripadvisor', 'url' => '' ), 'medium' => array( 'name' => 'Medium', 'url' => '' ), 'tiktok' => array( 'name' => 'tiktok', 'url' => '' ), ) ); // Start up widget. parent::__construct( 'ocean_social', esc_html__( '» Social Icons', 'ocean-extra' ), array( 'classname' => 'widget-oceanwp-social social-widget', 'description' => esc_html__( 'Display your social media icons.', 'ocean-extra' ), 'customize_selective_refresh' => true, ) ); // Since 1.3.8. add_action( 'admin_head-widgets.php', array( $this, 'social_widget_style' ) ); add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); add_action( 'admin_footer-widgets.php', array( $this, 'print_scripts' ) ); } /** * Custom widget style * * @since 1.3.8 * * @param string $hook_suffix */ public function social_widget_style() { ?> '. esc_html__( 'Opens in a new tab', 'ocean-extra' ) .''; $results = ocean_link_rel( $ocean_srt, $nofollow, $target ); $ocean_sr = $results[0]; $link_rel = $results[1]; // Display social icons. ?> colors( $args, $instance ); ?> esc_attr__( 'Follow Us', 'ocean-extra' ), 'style' => esc_html__( 'Light', 'ocean-extra' ), 'transition' => esc_html__( 'Rotate', 'ocean-extra' ), 'font_size' => '', 'border_radius' => '', 'bg_color' => '', 'bg_hover_color' => '', 'color' => '', 'color_hover' => '', 'border_color' => '', 'border_hover_color' => '', 'target' => 'blank', 'nofollow' => esc_html__( 'No', 'ocean-extra' ), 'size' => '', 'social_services' => $this->social_services_array, ) ); ?>

40px

18px

4px

get_field_id( 'social_services' ); $field_name_services = $this->get_field_name( 'social_services' ); ?>