How to Use Sassy Social Share - Stack Of Codes

Breaking

Ads

Tuesday 2 October 2018

How to Use Sassy Social Share

How to use Sassy Social Share Shortcode?

Shortcode::

You can use [Sassy_Social_Share] Shortcode in the content of required 
page/post where you want to display Social Sharing interface.

Example:
[Sassy_Social_Share]

You can use following attributes in the Shortcode

Style:
Use style attribute to style the rendered Social Sharing interface

Example:
[Sassy_Social_Share style="background-color:#000;"]

Type::
Use type attribute to specify the type (“standard” or “floating”) of Social Sharing interface. Defaults (if not specified) to standard

Example::
[Sassy_Social_Share type="floating"]


Title (Works with “standard” type interface only):
Use Title attribute to specify title above Social Sharing interface.

Example
[Sassy_Social_Share title="Sharing is Caring"]


Count::
Use count attribute to enable the share counts on Social Sharing interface.
1 is to tell plugin to enable count. It is not the number of shares.

Example::
[Sassy_Social_Share count="1"]


total_shares::
Set total_shares attribute value to ON to enable total shares. Defaults (if not specified) to OFF

Example::
[Sassy_Social_Share total_shares="ON"]


Align (Works with “floating” type interface only):
Use align attribute to specify alignment (left or right) of Social Sharing interface. Defaults (if not specified) to left

Example
[Sassy_Social_Share type="floating"]
(Will align to left, as align is not specified)

[Sassy_Social_Share type="floating" align="right"]
(Will align to right)


Left (Works with “floating” type interface only)::
Use left attribute to specify the left offset (distance form the left side of the screen) of Social Sharing interface. Defaults (if not specified) to 0

Example::
[Sassy_Social_Share type="floating" left="500"]


Right (Works with “floating” type interface only, “align” attribute must be set to “right”)::
Use right attribute to specify the right offset (distance form the right side of the screen) of Social Sharing interface. Defaults (if not specified) to 0

Example::
[Sassy_Social_Share type="floating" align="right" right="500"]


Top (Works with “floating” type interface only)::
Use top attribute to specify the top offset (distance form the top of the screen) of Social Sharing interface. Defaults (if not specified) to 100

Example::
[Sassy_Social_Share type="floating" top="200"]


Url::
Use Url attribute to specify the url to be shared. Defaults (if not specified) to the webpage where shortcode is placed

Example:
[Sassy_Social_Share type="floating" url="http://website.com/example.php"]


# You can use shortcode in PHP file as following
<?php echo do_shortcode(‘SHORTCODE’) ?>
Replace SHORTCODE in above code with the required shortcode like
[Sassy_Social_Share style=”background-color:#000;”],
so the final code looks like following
<?php echo do_shortcode('[Sassy_Social_Share style="background-color:#000;"]') ?>


 

#Widget

You can navigate to the Appearance > Widgets section in the left sidebar and enable Sassy Social Share – Standard Widget and Sassy Social Share – Floating Widget widgets in the required area


source:
http://support.heateor.com/sassy-social-share-shortcode-and-widget/


No comments:

Post a Comment

Topics

PHP (27) CodeIgniter (22) SQL (4) Facebook (3) HTML (3) Blogger (2) Constructor (2) Destructor (2) Google (2) How to (2) Aadhaar (1) Agent (1) Browser (1) CSS (1) Cakephp (1) Constants (1) India (1) Ip address (1) JS (1) Jquery (1) Meta Tags (1) Robots (1) Scraping Data (1) escape_str (1) htaccess (1) iS mobile (1) javascript (1) mysqli (1)