Default syntax

In case of template function, the below table should be used in theme files as,

<?php echo wp_socializer(button_name, 'var1=value&var2=value&var3=value'); ?> 

or 

<?php echo wp_socializer(button_name, array(
		'var1' => value,
		'var2' => value,
		'var3' => value 
	));
?>

In case of shortcodes, the below information should be used in posts and widgets as,

[wpsr_buttonName var1="value" var2="value" var3="value"]

Parameter reference

Click the heading to open the list of available settings for that button. This applies to WP Socializer version 2.4

Social buttons

Button Name : socialbts

Settings / Parameters:

output – Type of button output

  • image – Outputs the image buttons (Default)
  • singles – Outputs single buttons with no wrapping
  • text – Outputs buttons with only text and no image

url – Any valid URL.

title – Any valid title

excerpt – Any valid description of the post/page

type – Style of the button.

  • 16px – Outputs 16px buttons (Default)
  • 32px – Outputs 32px buttons

target – Link target type

  • 0 – Open links in same window
  • 1 – Open links in new window (Default)

effect – On hover button effect

  • opacity / jump /none (Default – opacity)

label – Enable or disable labels for icons

  • 0 – Hides label (Default)
  • 1 – Shows label

columns – No of columns to arrange the icons

  • no / 1 / 2 / 3 / 4 / 5 (Default – no)

services – Service codes seperated by comma

  • facebook,twitter,delicious,digg,googlebuzz,stumbleupon,addtofavorites,email (Default)

sprites – Enable or disable sprites

  • 0 – Does not use sprites
  • 1 – Uses sprites (Default)

imgpath16px - Valid URL of the folder where 16px icons are present

imgpath32px – Valid URL of the folder where 32px icons are present

before – Any valid html. Used before the icon. (Default – None)

after – Any valid html. Used after the icon (Default – None)

params - Additional parameters eg: class="something" (Default – None)

Addthis

Button Name : addthis

Settings / Parameters:

output – Type of button output

  • button – Outputs the button type (Default)
  • text – Outputs the text link.

url - Any valid URL.

title - Any valid title

type - Style of the button.

  • toolbar – Outputs the Addthis toolbar
  • sharecount – Outputs the Addthis share counter button.
  • button – Outputs the image button (Default)

btstyle – Style of the image button(Default -" lg-share-")

tbstyle – Addthis toolbar style

  • 16px – Outputs the 16px toolbar buttons (Default)
  • 32px – Outputs the 32px toolbar buttons

tbservices – Toolbar button’s service codes seperated by comma. For service codes, refer this page

  • facebook,twitter,digg,delicious,email,compact (Default)

scstyle – Sharecount button style

  • normal – Outputs the normal sharecount button
  • pill – Outputs the pill type share count button.
  • grouped – Outputs the grouped share count button.

username – Addthis username (Default – randomly generated pubid)

lang – Addthis buttons language code (Default – en)

text – Inner text for the addthis text link

Sharethis

Button Name : sharethis

Settings / Parameters:

output – Type of button output.

  • vcount / hcount / buttons / large / regular / regular2 / classic / image / text (Default – vcount)

url - Any valid URL.

title - Any valid title

services - List of sharethis button services button codes seperated by comma.

  • Default – facebook,twitter,email,sharethis

pubkey – Sharethis pubkey. (Default – random)

addp – Automatically wrap the button with paragraph.

  • 0 – Disables wrapping with paragraph.
  • 1 – Wraps the button with paragraph (Default)

text - Inner text for Sharethis text link. (Default – "ShareThis")

image - Image for the Sharethis image output (Default – Sharethis button image in the "public" folder)

params - Additional parameters eg: class="something" (Default – None)

Retweet

Button Name : retweet

Settings / Parameters:

output - Type of button output

  • button - Outputs the button type (Default)
  • image – Outputs the image type link.
  • text - Outputs the text link.

url - Any valid URL.

title - Any valid title

username – Twitter username (Default – Got from the WPSR settings)

service – Type of retweet service

  • twitter – Outputs the official twitter retweet button (Default)
  • tweetmeme – Uses the tweetmeme service
  • topsy – Uses the topsy service
  • retweet – Uses the retweet service

type – Style of the retweet button.

  • normal – Normal style (Default)
  • compact – Compact style
  • nocount – No count style.

topsytheme – Color theme for the topsy retweet button. (Default – "blue")

twitter_recacc – Twitter recommend people (Default – none)

twitter_lang – Twitter button language (Default – "en")

text - Inner text for Retweet text link. (Default – "Retweet this ")

image - Image for the Retweet image output (Default – Retweet button image in the "public" folder)

params - Additional parameters eg: class="something" (Default – None)

Facebook

Button Name : facebook

Settings / Parameters:

output - Type of button output

  • button - Outputs the button type (Default)
  • image - Outputs the image type link.
  • text - Outputs the text link.

url - Any valid URL.

title - Any valid title

type -Button type.

  • like – Outputs the like button (Default)
  • send – Outputs the like button along with the send button.

style - Button type

  • standard / button_count / box_count (Default – standard)

showfaces – Show people faces in the like button.

  • 0 - Does not show faces.
  • 1 - Shows the people faces (Default)

width – Width of the button (Default – 80) in pixels

verb – Text in the button

  • like / recommend (Default – like)

font - Font of the button (Default – Arial)

color - Color style of the button (Default – light)

counter – Show or hide like counter

  • 0 – Hide counter
  • 1 – Show counter (Default)

counterplacement – Placement of the button counter (Default – above)

text - Inner text for Facebook text link. (Default – "Share on Facebook")

image - Image for the Facebook image output (Default – Facebook button image in the "public" folder)

params - Additional parameters eg: class="something" (Default – None)

Google +1 (Plusone)

Button Name : plusone

Settings / Parameters:

output - Type of button output

  • button - Outputs the button type (Default)
  • image - Outputs the image type link.
  • text - Outputs the text link.

url - Any valid URL.

title - Any valid title

type – Type of Google +1 button.

  • small / standard / medium / tall (Default – standard)

Pinterest

Button Name : pinterest

Settings / Parameters:

output - Type of button output

  • button - Outputs the button type (Default)
  • image - Outputs the image type link.
  • text - Outputs the text link.

url - Any valid URL.

title - Any valid title

type – The button layout type

  • horizontal (Default) / vertical / none

media – The any valid URL of the media to send to Pinterest.

image - Image for the Buzz image output (Default – Buzz button image in the "public" folder)

params - Additional parameters eg: class="something" (Default – None)

Digg

Button Name : digg

Settings / Parameters:

output - Type of button output

  • button - Outputs the button type (Default)
  • image - Outputs the image type link.
  • text - Outputs the text link.

url - Any valid URL.

title - Any valid title

type – Digg button type

  • DiggWide / DiggMedium / DiggCompact (Default – Digg Medium)

text - Inner text for Digg text link. (Default – "Share on Digg ")

image - Image for the Digg image output (Default – Digg button image in the "public" folder)

params - Additional parameters eg: class="something" (Default – None)

Reddit

Button Name : reddit

Settings / Parameters:

output - Type of button output

  • button - Outputs the button type (Default)
  • image - Outputs the image type link.
  • text - Outputs the text link.

url - Any valid URL.

title - Any valid title

type – Reddit button type – ( 1 / 2 / 3 ) (Default – 2)

image - Image for the Reddit image output (Default – Reddit button image in the "public" folder)

params - Additional parameters eg: class="something" (Default – None)

StumbleUpon

Button Name : stumbleupon

Settings / Parameters:

output - Type of button output

  • button - Outputs the button type (Default)
  • image - Outputs the image type link.
  • text - Outputs the text link.

url - Any valid URL.

title - Any valid title

type – StumbleUpon button type – (1 / 2 / 3 / 5) (Default – 1)

image - Image for the StumbleUpon image output (Default – StumbleUpon button image in the "public" folder)

params - Additional parameters eg: class="something" (Default – None)

For more information and support please use the forum.