Jump to content

Archived

This topic is now archived and is closed to further replies.

JudithKlinger

Sharebar - Removing icons

Recommended Posts

JudithKlinger

How do I remove unwanted icons from the sharebar? They're greyed out...but I don't want them to be there. 

I'm sure there is an easy answer...but I couldn't find it.

Thanks!

Share this post


Link to post
Share on other sites
Simon

Updating sharebar, added a filter. Example usage would be for just showing Facebook

add_filter( 'pl_sharebar_icons', 'pl_sharebar_icons_filter' );
function pl_sharebar_icons_filter( $icons ) {
  return array(
          array(
            'txt'  => __( 'Share On Facebook',  'pagelines' ),
            'icon' => 'facebook-square' ),
  );
}

 

Share this post


Link to post
Share on other sites

×