开发者 |
socialmediafeather
scottstorebloom scottmweaver |
---|---|
更新时间 | 2024年4月29日 22:30 |
PHP版本: | 5.9 及以上 |
WordPress版本: | 6.5.2 |
版权: | GPLv2 |
版权网址: | 版权信息 |
synved_social_exclude_share
to "yes" (without quotes) to disable rendering of sharing buttons on the post/page or synved_social_exclude_follow
to "yes" (without quotes) to remove following buttons from the post or alternatively synved_social_exclude
to disable both. The Custom Fields editor needs to be enabled on your post/page edit screen by clicking at the top right where it says "Screen Options".
Features
[feather_share]
This shortcode will create a list of social media sharing buttons to share content on your site, only showing Twitter and Facebook, in that specific order:
[feather_share show="twitter, facebook" hide="reddit, pinterest, linkedin, tumblr, mail"]
You can change the order of displayed buttons by changing the order of keywords:
[feather_share show="twitter, facebook" hide="reddit, pinterest, linkedin, tumblr, mail"]
This shortcode will create a list of social sharing buttons to share content on your site using the "Wheel" icons skin:
[feather_share skin="wheel"]
This shortcode will create a list of social media sharing buttons to share content on your site using the default icon skin with a size of 64 pixels:
[feather_share size="64"]
You can add a custom CSS class to your share buttons using the "class" attribute:
[feather_share class="myclass"]
You can combine all the parameters above to customize the look, for instance using the "Wheel" icon skin at a size of 64 pixels and only showing Twitter and Facebook, in that specific order:
[feather_share skin="wheel" size="64" show="twitter, facebook" hide="reddit, pinterest, linkedin, tumblr, mail"]
The next shortcode will create a list of social following buttons that allow visitors to follow you:
[feather_follow]
The next shortcode will create a list of social following buttons that allow visitors to follow you, using the "Balloon" icons skin:
[feather_follow skin="balloon"]
You can add a custom CSS class to your social profiles buttons using the "class" attribute:
[feather_follow class="myclass"]
The next shortcode will create a list of social media following buttons that allow visitors to follow you, using the "Balloon" icons skin with a size of 64 pixels:
[feather_follow skin="balloon" size="64"]
You can specify a manual URL to be used for the sharing buttons:
[feather_share url="http://www.example.org"]
Template Tags
If you don't want to use shortcodes but instead prefer to use PHP directly, there are 2 PHP functions/template tags you can use.
For sharing buttons you can use:
if (function_exists('synved_social_share_markup')) echo synved_social_share_markup();
For following buttons you can use:
if (function_exists('synved_social_follow_markup')) echo synved_social_follow_markup();
Related Links:
Have a look at our site or where you can see the social sharing and following features in action
You can achieve this by using Custom Fields. Simply set a custom field of synved_social_exclude_share
to "yes" (without quotes) to disable share buttons on the post or page. Alternatively set synved_social_exclude
to "yes" (without quotes) to disable both sharing and following.
You can achieve this by using Custom Fields. Simply set a custom field of synved_social_exclude_follow
to "yes" (without quotes) to remove following buttons from the post or page. Alternatively set synved_social_exclude
to "yes" (without quotes) to disable both sharing and following.
You can achieve this by editing the Twitter Share Link under Settings -> Social Media from this:
http://twitter.com/share?url=%%url%%&text=%%message%%
to this:
http://twitter.com/share?url=%%url%%&text=%%title%%
Go to Settings -> Social Media and under "Automatic Display" uncheck "Display Sharing Buttons" as well as "Display Follow Buttons". Then go under Appearance -> Widgets and add the "Social Media Feather: Sharing" widget to your sidebar.
Go to Settings -> Social Media and under "Automatic Display" uncheck "Display Sharing Buttons" as well as "Display Follow Buttons". Then go under Appearance -> Widgets and add the "Social Media Feather: Follow Us" widget to your sidebar.
You can simply edit the page in question and add a shortcode like the following [feather_share url="http://www.example.org"]
, then replace http://www.example.org
with the URL to your site. See the next FAQ as well for adding an image.
Just edit your shortcode so it looks like this [feather_share url="http://www.example.org" image="http://www.example.org/image.jpg"]
, remember to substitute http://www.example.org
with the URL to your site and the same goes for the JPEG URL.
Just edit the page contents and insert another shortcode like this [feather_follow]
.
Social Media Feather always try to communicate to Facebook the correct parameters corresponding to the post being shared, including title and thumbnail but Facebook sometimes decides to ignore this information and instead picks up its own details from the page. This could be because some other plugin on your site is incorrectly specifying some OpenGraph tags in your page, or simply down to a Facebook choice. In both cases the solution is to remove any plugins creating incorrect OpenGraph tags and instead installing a plugin that provides proper OpenGraph tags, like Yoast SEO.
This could be due to Facebook caching your page information. Go to Facebook Debug Tools and type in the URL to the post/page, then click "Debug". On the next screen that loads, now click on "Fetch new scraping information"; this should clear Facebook's cache of your page.
If you have automatic display enabled or you're displaying the social media icons using other means, like shortcodes or widgets, but some or all the buttons are not showing up in your browser, but they do show up on a fresh install of a different browser, it is possible that some of your browser add-ons are blocking the icons. This is generally caused by ad-blocking software such as Adblock or Adblock Plus. Please add your site in the exception list for these add-ons and your social icons should show up again.
This is not caused by our plugin but by a lightbox library you are using. This could either be loaded by your theme or one of your other plugins. If you're using Easy Fancybox, please install their development version.
You can achieve this by adding some CSS under Settings -> Social Media, "Extra Style" option. Add something like this inside that text area:
.synved-social-button { margin-left: 10px !important; }
If you want to just add it to the buttons as a whole instead of each individual button, then set "Buttons in Container" to "Both" and "Buttons Container Type" to "Block" and add this:
.synved-social-container { margin-left: 10px; }
image
attribute for shortcodes