'behance.net', 'icon' => 'fab fa-behance', 'title' => esc_html__( 'Follow me on Behance', 'avantex' ), 'class' => 'behance' ), array( 'url' => 'bitbucket.org', 'icon' => 'fab fa-bitbucket', 'title' => esc_html__( 'Fork me on Bitbucket', 'avantex' ), 'class' => 'bitbucket' ), array( 'url' => 'codepen.io', 'icon' => 'fab fa-codepen', 'title' => esc_html__( 'Follow me on CodePen', 'avantex' ), 'class' => 'codepen' ), array( 'url' => 'deviantart.com', 'icon' => 'fab fa-deviantart', 'title' => esc_html__( 'Watch me on DeviantArt', 'avantex' ), 'class' => 'deviantart' ), array( 'url' => 'discord.gg', 'icon' => 'fab fa-discord', 'title' => esc_html__( 'Join me on Discord', 'avantex' ), 'class' => 'discord' ), array( 'url' => 'dribbble.com', 'icon' => 'fab fa-dribbble', 'title' => esc_html__( 'Follow me on Dribbble', 'avantex' ), 'class' => 'dribbble' ), array( 'url' => 'etsy.com', 'icon' => 'fab fa-etsy', 'title' => esc_html__( 'favorite me on Etsy', 'avantex' ), 'class' => 'etsy' ), array( 'url' => 'facebook.com', 'icon' => 'fab fa-facebook-f', 'title' => esc_html__( 'Like me on Facebook', 'avantex' ), 'class' => 'facebook' ), array( 'url' => 'flickr.com', 'icon' => 'fab fa-flickr', 'title' => esc_html__( 'Connect with me on Flickr', 'avantex' ), 'class' => 'flickr' ), array( 'url' => 'foursquare.com', 'icon' => 'fab fa-foursquare', 'title' => esc_html__( 'Follow me on Foursquare', 'avantex' ), 'class' => 'foursquare' ), array( 'url' => 'github.com', 'icon' => 'fab fa-github', 'title' => esc_html__( 'Fork me on GitHub', 'avantex' ), 'class' => 'github' ), array( 'url' => 'instagram.com', 'icon' => 'fab fa-instagram', 'title' => esc_html__( 'Follow me on Instagram', 'avantex' ), 'class' => 'instagram' ), array( 'url' => 'kickstarter.com', 'icon' => 'fab fa-kickstarter-k', 'title' => esc_html__( 'Back me on Kickstarter', 'avantex' ), 'class' => 'kickstarter' ), array( 'url' => 'last.fm', 'icon' => 'fab fa-lastfm', 'title' => esc_html__( 'Follow me on Last.fm', 'avantex' ), 'class' => 'lastfm' ), array( 'url' => 'linkedin.com', 'icon' => 'fab fa-linkedin-in', 'title' => esc_html__( 'Connect with me on LinkedIn', 'avantex' ), 'class' => 'linkedin' ), array( 'url' => 'medium.com', 'icon' => 'fab fa-medium-m', 'title' => esc_html__( 'Follow me on Medium', 'avantex' ), 'class' => 'medium' ), array( 'url' => 'patreon.com', 'icon' => 'fab fa-patreon', 'title' => esc_html__( 'Support me on Patreon', 'avantex' ), 'class' => 'patreon' ), array( 'url' => 'pinterest.com', 'icon' => 'fab fa-pinterest-p', 'title' => esc_html__( 'Follow me on Pinterest', 'avantex' ), 'class' => 'pinterest' ), array( 'url' => 'plus.google.com', 'icon' => 'fab fa-google-plus-g', 'title' => esc_html__( 'Connect with me on Google+', 'avantex' ), 'class' => 'googleplus' ), array( 'url' => 'reddit.com', 'icon' => 'fab fa-reddit-alien', 'title' => esc_html__( 'Join me on Reddit', 'avantex' ), 'class' => 'reddit' ), array( 'url' => 'slack.com', 'icon' => 'fab fa-slack-hash', 'title' => esc_html__( 'Join me on Slack', 'avantex' ), 'class' => 'slack.' ), array( 'url' => 'slideshare.net', 'icon' => 'fab fa-slideshare', 'title' => esc_html__( 'Follow me on SlideShare', 'avantex' ), 'class' => 'slideshare' ), array( 'url' => 'snapchat.com', 'icon' => 'fab fa-snapchat-ghost', 'title' => esc_html__( 'Add me on Snapchat', 'avantex' ), 'class' => 'snapchat' ), array( 'url' => 'soundcloud.com', 'icon' => 'fab fa-soundcloud', 'title' => esc_html__( 'Follow me on SoundCloud', 'avantex' ), 'class' => 'soundcloud' ), array( 'url' => 'spotify.com', 'icon' => 'fab fa-spotify', 'title' => esc_html__( 'Follow me on Spotify', 'avantex' ), 'class' => 'spotify' ), array( 'url' => 'stackoverflow.com', 'icon' => 'fab fa-stack-overflow', 'title' => esc_html__( 'Join me on Stack Overflow', 'avantex' ), 'class' => 'stackoverflow' ), array( 'url' => 'tumblr.com', 'icon' => 'fab fa-tumblr', 'title' => esc_html__( 'Follow me on Tumblr', 'avantex' ), 'class' => 'tumblr' ), array( 'url' => 'twitch.tv', 'icon' => 'fab fa-twitch', 'title' => esc_html__( 'Follow me on Twitch', 'avantex' ), 'class' => 'twitch' ), array( 'url' => 'twitter.com', 'icon' => 'fab fa-twitter', 'title' => esc_html__( 'Follow me on Twitter', 'avantex' ), 'class' => 'twitter' ), array( 'url' => 'vimeo.com', 'icon' => 'fab fa-vimeo-v', 'title' => esc_html__( 'Follow me on Vimeo', 'avantex' ), 'class' => 'vimeo' ), array( 'url' => 'weibo.com', 'icon' => 'fab fa-weibo', 'title' => esc_html__( 'Follow me on weibo', 'avantex' ), 'class' => 'weibo' ), array( 'url' => 'youtube.com', 'icon' => 'fab fa-youtube', 'title' => esc_html__( 'Subscribe to me on YouTube', 'avantex' ), 'class' => 'youtube' ), ); return apply_filters( 'skyrocket_social_icons', $social_icons ); } } /** * Return an unordered list of linked social media icons, based on the urls provided in the Customizer Sortable Repeater * This is a sample function to display some social icons on your site. * This sample function is also used to show how you can call a PHP function to refresh the customizer preview. * Add the following code to header.php if you want to see the sample social icons displayed in the customizer preview and your theme. * Before any social icons display, you'll also need to add the relevent URL's to the Header Navigation > Social Icons section in the Customizer. *
* * @return string Unordered list of linked social media icons */ if ( ! function_exists( 'skyrocket_get_social_media' ) ) { function skyrocket_get_social_media() { $defaults = skyrocket_generate_defaults(); $output = array(); $social_icons = skyrocket_generate_social_urls(); $social_urls = explode( ',', get_theme_mod( 'social_urls', $defaults['social_urls'] ) ); $social_newtab = get_theme_mod( 'social_newtab', $defaults['social_newtab'] ); $social_alignment = get_theme_mod( 'social_alignment', $defaults['social_alignment'] ); $contact_phone = get_theme_mod( 'contact_phone', $defaults['contact_phone'] ); if( !empty( $contact_phone ) ) { $output[] = sprintf( '