Community Forums › Forums › Archived Forums › General Discussion › Simple Social Icons
Tagged: simple social icons
- This topic has 1 reply, 2 voices, and was last updated 7 years, 3 months ago by Victor Font.
-
AuthorPosts
-
January 12, 2017 at 1:32 pm #199229alistairmckenzieMember
My Simple social Icons are displaying a Square since updating to version 2 apart from the new one I added see code below for alts what do I need to change
// Change Simple Social Icons
add_filter( 'simple_social_default_profiles', 'custom_simple_social_default_profiles' );
function custom_simple_social_default_profiles() {
$glyphs = array(
'bloglovin' => '',
'dribbble' => '',
'email' => '',
'facebook' => '',
'flickr' => '',
'github' => '',
'gplus' => '',
'instagram' => '',
'linkedin' => '',
'pinterest' => '',
'rss' => '',
'stumbleupon' => '',
'tumblr' => '',
'twitter' => '',
'vimeo' => '',
'youtube' => '',
'soundcloud' => '',
);$profiles = array(
'bloglovin' => array(
'label' => __( 'Bloglovin URI', 'simple-social-icons' ),
'pattern' => '<li class="social-bloglovin">' . $glyphs['bloglovin'] . '',
),
'dribbble' => array(
'label' => __( 'Dribbble URI', 'simple-social-icons' ),
'pattern' => '<li class="social-dribbble">' . $glyphs['dribbble'] . '',
),
'email' => array(
'label' => __( 'Email URI', 'simple-social-icons' ),
'pattern' => '<li class="social-email">' . $glyphs['email'] . '',
),
'facebook' => array(
'label' => __( 'Facebook URI', 'simple-social-icons' ),
'pattern' => '<li class="social-facebook">' . $glyphs['facebook'] . '',
),
'flickr' => array(
'label' => __( 'Flickr URI', 'simple-social-icons' ),
'pattern' => '<li class="social-flickr">' . $glyphs['flickr'] . '',
),
'github' => array(
'label' => __( 'GitHub URI', 'simple-social-icons' ),
'pattern' => '<li class="social-github">' . $glyphs['github'] . '',
),
'gplus' => array(
'label' => __( 'Google+ URI', 'simple-social-icons' ),
'pattern' => '<li class="social-gplus">' . $glyphs['gplus'] . '',
),
'instagram' => array(
'label' => __( 'Instagram URI', 'simple-social-icons' ),
'pattern' => '<li class="social-instagram">' . $glyphs['instagram'] . '',
),
'linkedin' => array(
'label' => __( 'Linkedin URI', 'simple-social-icons' ),
'pattern' => '<li class="social-linkedin">' . $glyphs['linkedin'] . '',
),
'pinterest' => array(
'label' => __( 'Pinterest URI', 'simple-social-icons' ),
'pattern' => '<li class="social-pinterest">' . $glyphs['pinterest'] . '',
),
'rss' => array(
'label' => __( 'RSS URI', 'simple-social-icons' ),
'pattern' => '<li class="social-rss">' . $glyphs['rss'] . '',
),
'stumbleupon' => array(
'label' => __( 'StumbleUpon URI', 'simple-social-icons' ),
'pattern' => '<li class="social-stumbleupon">' . $glyphs['stumbleupon'] . '',
),
'tumblr' => array(
'label' => __( 'Tumblr URI', 'simple-social-icons' ),
'pattern' => '<li class="social-tumblr">' . $glyphs['tumblr'] . '',
),
'twitter' => array(
'label' => __( 'Twitter URI', 'simple-social-icons' ),
'pattern' => '<li class="social-twitter">' . $glyphs['twitter'] . '',
),
'vimeo' => array(
'label' => __( 'Vimeo URI', 'simple-social-icons' ),
'pattern' => '<li class="social-vimeo">' . $glyphs['vimeo'] . '',
),
'youtube' => array(
'label' => __( 'YouTube URI', 'simple-social-icons' ),
'pattern' => '<li class="social-youtube">' . $glyphs['youtube'] . '',
),
'Soundcloud' => array(
'label' => __( 'SoundCloud URI', 'simple-social-icons' ),
'pattern' => '<li class="social-soundcloud">' . $glyphs['soundcloud'] . '',
),
);return $profiles;
http://www.ellashaw.co.uk/
}January 12, 2017 at 3:27 pm #199296Victor FontModeratorThe new version uses SVG graphics only. The details you need are in this blog post: http://www.studiopress.com/simple-social-icons-2-0/
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet? -
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.