Home › Forums › Pro Support › WPSP Social Icons (class="wpsp-social") shortcode? › Reply To: WPSP Social Icons (class="wpsp-social") shortcode?
November 24, 2016 at 12:55 pm
#1093
Keymaster
Hi there,
You mean in the single post itself (not WPSP)?
Typically this plugin doesn’t add/modify the theme you’re using, it only affects the list of posts.
However, you could try making a shortcode out of this function:
if ( $social_sharing && function_exists( 'wpsp_social_sharing' ) ) :
echo wpsp_social_sharing( get_the_ID(), $twitter = true, $facebook = true, $googleplus = true, $pinterest = true, $love = true, $social_sharing_alignment = 'left' );
wp_enqueue_script( 'wpsp-love-it' );
endif;