WP Socializer has about 11 theme functions, which can be used directly in the them file for custom placement of the buttons and template.

This page is updated, but more details are produced in this page. Please use this page for more detailed information on this topic.

The only one theme function for inserting the buttons and template in a custom place in the them is wp_socializer(‘Button / Template Name’, Settings);

This function requires a parameter to choose the required button or template. Those Parameters are mentioned below. The parameters are just similar to the button codes available for the placement template.

socialbts
Used to insert the social bookmarking buttons
addthis
Used to insert the Addthis button
sharethis
Used to insert the Sharethis button
buzz
Used to insert the Buzz button
retweet
Used to insert the Retweet button
digg
Used to insert the Digg button
facebook
Used to insert the Facebook like button
plusone
Used to insert the Google +1 button
reddit
Used to insert the Reddit button
stumbleupon
Used to insert the Stumbleupon button
custom-1
Used to insert the custom button template 1
custom-2
Used to insert the custom button template 2
template-1
Used to insert the template 1
template-2
Used to insert the template 2

To display the facebook button in a custom place, use the PHP code

if(function_exists('wp_socializer'){
	echo wp_socializer('facebook-like', array(Settings));
}

Here, the a check is made whether a function wp_socializer exists. This will not give a error when the plugin is disabled. Also, the function should be echoed

Subscribe for updates

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam.

Add your comment 41 Comments so far