• Hello,

    I basically created a function using the simple_social_default_glyphs filter to add custom theme icons and now they are gone since the update.

    Here’s what it looked like:

    add_filter( 'simple_social_default_glyphs', 'ppdn_simple_social_icons_glyphs' );
    function ppdn_simple_social_icons_glyphs( $glyphs ) {
    	$glyphs = array(		
     		'email'       => '<span class="ppd-email-alt"></span><span class="screen-reader-text"></span>',
     		'facebook'    => '<span class="ppd-facebook"></span><span class="screen-reader-text"></span>',		
     		'gplus'       => '<span class="ppd-google-plus"></span><span class="screen-reader-text"></span>',		
     		'linkedin'    => '<span class="ppd-linkedin"></span><span class="screen-reader-text"></span>', 		
     		'rss'         => '<span class="ppd-rss"></span><span class="screen-reader-text"></span>',		
     		'twitter'     => '<span class="ppd-twitter"></span><span class="screen-reader-text"></span>',
     		'youtube'     => '<span class="ppd-youtube"></span><span class="screen-reader-text"></span>',
     	);
    
     	return $glyphs;
    }

    But now it isn’t working anymore. The actual default icons have replaced them since the update. Any thoughts?

    Thanks in advance,

    Rich

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Icons via simple_social_default_glyphs filter disappeared’ is closed to new replies.