Support » Plugins and Hacks » WP Socializer » [Plugin: WP Socializer] Manual Placement Code
4 years, 7 months ago
I am placing the small social icons (socialbts) manually in the excerpt of my website – http://www.cochlearimplantonline.com because the plugin is not putting them automatically when I click to include them in the excerpt. When I insert the code:
<?php echo wp_socializer(button_name, array(
‘socialbts’ => facebook,twitter,pinterest,googlebuzz,stumbleupon,addtofavorites,email
‘var2’ => value,
‘var3’ => value
It only shows the facebook icon. Can someone please tell me what I am doing wrong? For now, I have it set to default, but I would really like to choose my own buttons. Thank you.
4 years, 6 months ago
You are using the wrong parameters for the function. The actual code is
<?php echo wp_socializer('socialbts', array(
'services' => 'facebook,twitter,pinterest,googlebuzz,stumbleupon,addtofavorites,email'
This should work. For more info refer the documentation page – http://www.aakashweb.com/docs/wp-socializer-docs/function-reference/
Thank you! It worked!
For more customization on the social buttons, you can use the docs page to check out the parameters. Just add it the similar way.