share your site!
- Created: 1/13/2012
- Latest Update:1/13/2012
- By: Ken Hicks
How to Install
Installing WP SharePoint is very simple. It installs just
like any other plugin in the WordPress system.
- Upload the wp-sharepoint folder to your plugin directory
or use the WordPress plugin upload tool to install the plugin.
- Activate the plugin.
- Go to the WP SharePoint settings page to make any changes
you wish to make to the social APIs
- You are ready to rock!
How to Use Shortcode
Using the WP SharePoint shortcode is just as easy as the
install! It comes with a high powered tinyMCE toolbar plugin that
allows you to insert fully customized social buttons for the service of
To get started generating your shortcode, simply click the WP
SharePoint icon in the toolbar (under visual mode.) It will appear on
any post / page / post type editor in your WordPress admin.
The shortcode generator will then popup and allow you to
configure a button. Simply select the tab for the service you wish to
make a button for, configure your button, and click insert. Its that
You can customize everything from the button type, layount,
counter displays, color schemes and more!
How to Use Function
The template tag is simple to use as well. It also packs the
same amount of customizing into to an easy to use tag. All of the
buttons options can be called independently, in any order, in a simple
Here are the options you can use with the wpsp_button();
- "type" - This is the id number of the button type you
would like to generate. See the button type list below for the the id
- "url" - This is the URL you want to use with your buttons.
It will be used for any button that shares, likes, port in Google's
cases "pluses" a link. Like Buttons, Share Buttons, Google + etc. It
can be any URL you want, including Facebook Fan Page URLs as long as
the URL is public and returns valid headers. If you are making a
Facebook Subscribe Button, this URL should be the URL of the Facebook
Profile you want the user to be "scbscribed to." Example:
Note: When using the template tag, you
can leave the "url" option empty and WP SharePoint will use the current
post / page URL within the button.
Facebook Specific Options
- "facebook_theme" - This is the colorscheme you want to use
with Facebook Buttons. You can supply either "light" or "dark".
- "faceook_layout" - This is the layout for Facebook's Like
Button. You can supply either "standard", "box_count" for the larger
buttons with the like count in a box, and "button_count" which displays
the like count in the horizontal counter style.
- "showfaces" - You can set this option to "true" or "flase"
to enable / disable the showing of other people's profile pictures who
have liked a given URL.
Note: Only the Like Button and Like +
Share Combo buttons work with the showfaces options as Facebook does
not display them with the stand alone share button.
Google Specific Options
- "google_layout" - This is the layout of the Google Plus
button you wish to use. You can supply either "standard", "small",
"medium", or "tall".
- "google_count" - Set to "true" or "false" to enable /
disable the + Count on Google Plus buttons. The "tall" layout will
always include the count.
Twitter Specific Options
- "twitter_count" - Set this option to customize how the the
Twitter Tweet count is displayed. You can specify "horizontal",
"vertical", or "none" to have no counter.
LinkedIn Specific Options
- "linkedin_counter" - This is the option to specify the
counter layout for LinkedIn share buttons. You can specify "top",
"right", or "none" to show no counter.
AddThis Specific Options
- "addthis_size" - Specify either 'default' for the pillbox
style button, or 'large' for the box count style button..
YouTube Specific Options
- "youtube_url" - Enter a valid YouTube "watch" URL of the
video to embed. ex. http://www.youtube.com/watch?v=gFp7q-IJqno
Button Types / IDs
- Like Button Only
- Like Button + Send Button Combo
- Facebook Send Button Only
- Google+ (Plus) Button
- Tweet Button
- LinkedIn Share Button
- Facebook Subscribe Button
- AddThis Button
- YouTube Embed Code
Template Tag Examples
Here are some examples of how to generate buttons. For
instance you could use these tags to generate a button on each post page
by adding the template_tag to your single.php theme file. Or edit
index.php to display buttons under each post on your homepage