Jump to content
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×