Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support WPSP Social Icons (class="wpsp-social") shortcode? Reply To: WPSP Social Icons (class="wpsp-social") shortcode?


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' );