Hey guys sorry to bother you, you provided the following code a while back for the smaller share buttons on the bottom of posts and pages but was just wondering if there is a way to adjust it so they don’t display on buddypress and the home page? cheers
<?php
if( function_exists('yt_site_social_sharing_buttons') && !is_search() ){
$styles = apply_filters( 'yt_site_social_sharing_services_styles', array(
'style' => 'color',
'size' => 'small'
), 'style1' );
$services = array(
'twitter' => array(
'title' => __('Twitter', 'wpthms'),
),
'facebook' => array(
'title' => __('Facebook', 'wpthms'),
),
'google-plus' => array(
'title' => __('Share on Google+', 'wpthms'),
),
'linkedin' => array(
'title' => __('Share on Linkedin', 'wpthms'),
),
'pinterest' => array(
'title' => __('Pin this Post', 'wpthms'),
),
'tumblr' => array(
'title' => __('Share on Tumblr', 'wpthms'),
),
'more' => array(
'title' => __('More services', 'wpthms'),
),
);
yt_site_social_sharing_buttons( $styles, $services, $class = 'pull-right');
}
?>