Function shortcode_social_standard
Creates the front-end markup for displaying a social share bar with elements
provided directly from the various networks. Looks something like:
[bpq_social_standard facebook_like="1"
facebook_like_url="http://www.google.com"]
Namespace: bpq
Located at bpq.social/bpq.social.php
Parameters summary
array |
$atts |
Can be any of the following attributes: boolean $vertical If set to 'true', the
buttons appear in a stack; defaults to horizontal wrapping. boolean
$facebook_like Whether to show the Facebook Like button; any non-zero value
determines sort order string $facebook_like_url The URL that will be processed
for the Facebook Like button; default is to use the current URL boolean
$facebook_share Whether to show the Facebook Share button; any non-zero value
determines sort order string $facebook_share_url The URL that will be processed
for the Facebook Share button; default is to use the current URL boolean
$google_plusone Whether to show the Google +1 button; any non-zero value
determines sort order string $google_plusone_url The URL that will be processed
for the Google +1 button; default is to use the current URL boolean
$google_share Whether to show the Google Share button; any non-zero value
determines sort order string $google_share_url The URL that will be processed
for the Google Share button; default is to use the current URL boolean
$linkedin_follow Whether to show the LinkedIn Follow button; any non-zero value
determines sort order string $linkedin_follow_id The ID that will be processed
for the LinkedIn Follow button; required if turned on boolean $linkedin_share
Whether to show the LinkedIn Share button; any non-zero value determines sort
order string $linkedin_share_url The URL that will be processed for the LinkedIn
Share button; default is to use the current URL boolean $pinterest_follow
Whether to show the Pinterest Follow button; any non-zero value determines sort
order string $pinterest_follow_user The name that will be processed for the
Pinterest Follow button; required if turned on boolean $pinterest_pinit Whether
to show the Pinterest PinIt button; any non-zero value determines sort order
boolean $reddit_share Whether to show the Reddit Share button; any non-zero
value determines sort order string $reddit_share_url The URL that will be
processed for the Reddit Share button; default is to use the current URL boolean
$stumbleupon_share Whether to show the Stumbleupon Share button; any non-zero
value determines sort order string $stumbleupon_share_url The URL that will be
processed for the Stumbleupon Share button; default is to use the current URL
boolean $tumblr_follow Whether to show the Tumblr Follow button; any non-zero
value determines sort order string $tumblr_follow_user The name that will be
processed for the Tumblr Follow button; required if turned on boolean
$tumblr_post Whether to show the Tumblr Post button; any non-zero value
determines sort order boolean $twitter_follow Whether to show the Twitter Follow
button; any non-zero value determines sort order string $twitter_follow_user The
name that will be processed for the Twitter Follow button; required if turned on
boolean $twitter_tweet Whether to show the Twitter Tweet button; any non-zero
value determines sort order string $twitter_tweet_hash The hashtags that will be
processed for the Twitter Tweet button; comma-separate multiples string
$twitter_tweet_related The related username that will be processed for the
Twitter Tweet button; default is nothing string $twitter_tweet_text The text
that will be processed for the Twitter Tweet button; default is a site/page
title combo string $twitter_tweet_url The URL that will be processed for the
Twitter Tweet button; default is to use the current URL string
$twitter_tweet_via The retweeted username that will be processed for the Twitter
Tweet button; default is nothing boolean $youtube_subscribe Whether to show the
YouTube Follow button; any non-zero value determines sort order string
$youtube_subscribe_channel The channel that will be processed for the YouTube
Subscribe button; required if turned on
|
Return value summary
string
|
The expanded markup
|