Basically there are four main settings tabs that will help you to setup the plugin to work properly.
- Social Networks
In this tab you can choose which social media icons you want to display in the frontend. Here you can order the apperance of the social icons simply by drag and drop of each social icons.
- Share options
In this tab you can select the options where you want to display social media share icons.
- Display settings
In this tab you can customize the apperance of the social media share icons. You can choose the options to display the share icons below the contennt, above the content or you can choose an options to display in both below and above content. Also you can choose the theme from the pre available 5 themes.
- Miscellaneous settings
In this tab you can do the additional settings for the plugin.
- You can setup the twitter username.
- You can enable/disable the social counter.
- Share link - You can enable the share options either in new tab/window or in same widow.
- Cache settings - Here you can set the cache settings of the social share counter in hour format.
- Email settings - If you have enabled the email settings you can setup the email header and body part.
- Shortcode
You can use shortcode for the display of the social share in the contents. Optionally You can enter the name of the networks you want to display. The networks will be displayed in the order of entered networks.
- Example 1:
[apss_share]
- Available shortcode parameters
- networks : You can define which social medias to show in the shortcode. You need to enter the networks name in string in comma separated values. If you don't want to choose which social medias to appear in shortcode, you can discard this option.
- Available network parameters are: facebook, twitter, google-plus, pinterest, linkedin, digg, email, print
- share_text: You can add the share text. To use share text use share_text='text to be shared'. If you don't use this parameter the share text will not appear in shortcode.
- counter : You can enable or disable the share counter. To enable the share count use counter='1' and to disable it simply don't use counter parameter or use parameter counter='0'.
- total_counter : You can enable or disable the total share counter. To enable the total share count use total_counter='1' and to disable it simply don't use total_counter parameter or use parameter total_counter='0'.
- custom_share_link : You can enter the custom share link in case if the link provided by shortcode is not as per your need. To enable the custom share link use custom_share_link='custom link as per your need.'
- http_count: You can set this option if you have moved your site from HTTP to HTTPS to show the share counts from your old http site as well. Please note that the share count will fetch if your site has been moved from HTTP to HTTPS eg if your old site was http://example.com and you have moved your site to https://example.com. But please not that if you have changed other url parameters then the count will not work for example if your old page slug was http://example.com/sample-page and you have changed it to https://example.com/sample-page-1 then the share counts will not work for old url.
- Example 1.1:
[apss_share networks='facebook, twitter, pinterest' share_text='Share it' counter='1' total_counter='1' http_count='1']
-
You can use the below shortcode to display the share counts number only in the content using shortcode. You can wrap that number in your reqired html tags and use it as per your need. The share count displayed will be the sum of entered network attributes.
- Example 2:
[apss_count]
- Available Parameters
- network : You can define which social medias to show total share counts. You need to enter the networks name in string in comma separated values. You need to enter at least one network attribute.
- Available network parameters are: facebook, twitter, google-plus, pinterest, linkedin
- Example 2.1:
[apss_count network='facebook, pinterest']
- This will show the sum of share counts from facebook and pinterest.
- custom_url_link
- Now you can use attribute "custom_url_link" to fetch the share counts for custom url as well.
- Example 2.2:
[apss_count network='facebook, pinterest' custom_url_link='']
- This attribute is useful in case if the shortcode is not fetching the share counts for shortcode placed url and force the shortcode to use the url from the attribute defined in custom_url_link.
-
For now you can use shortcode [apss-share] and [apss-count] for the display of the social shares and counts only as well but in upcoming plugin updates this shortcode will be removed and use the new one. So we suggest to use only the new shortcodes.
-
For the complete documentation please visit:
https://accesspressthemes.com/documentation/documentation-plugin-instruction-accesspress-social-share/