Social Media Feather Shortcodes

Below, you’ll find a detailed guide on how to add the Social Media Feather | social media sharing Shortcodes to your WordPress website, including their parameters, examples, and PHP function code. Additionally, we’ll assist you with common issues that might cause the Social Media Feather | social media sharing Plugin shortcodes not to show or not to work correctly.

Before starting, here is an overview of the Social Media Feather | social media sharing Plugin and the shortcodes it provides:

Plugin Icon
Social Media Feather | social media sharing

"Social Media Feather is a lightweight WordPress plugin that allows easy and seamless sharing and following on all major social networks without compromising your website's performance."

★★★★☆ (507) Active Installs: 30000+ Tested with: 6.1.4 PHP Version: false
Included Shortcodes:
  • [feather_share]
  • [feather_follow]

Social Media Feather [feather_share] Shortcode

The Social Media Feather plugin shortcode, ‘feather_share’, enables the display of social share buttons. This shortcode calls the ‘synved_social_share_shortcode’ function. This function, in turn, invokes the ‘synved_social_button_list_shortcode’ function with ‘share’ as a parameter, generating a list of social share buttons on your webpage.

Shortcode: [feather_share]

Examples and Usage

Basic example – A simple usage of the ‘feather_share’ shortcode without any parameters.

[feather_share /]

PHP Function Code

In case you have difficulties debugging what causing issues with [feather_share] shortcode, check below the related PHP functions code.

Shortcode line:

add_shortcode( 'feather_share', 'synved_social_share_shortcode' );

Shortcode PHP function:

function synved_social_share_shortcode( $atts, $content = null, $code = '' ) {
	return synved_social_button_list_shortcode( $atts, $content, $code, 'share' );
}

Code file location:

social-media-feather/social-media-feather/synved-social/synved-social-setup.php

Social Media Feather [feather_follow] Shortcode

The Social Media Feather plugin shortcode, ‘feather_follow’, enables users to add a follow button to their posts. This shortcode calls the ‘synved_social_follow_shortcode’ function, which returns a list of social media follow buttons. The ‘follow’ parameter specifies the type of buttons to display.

Shortcode: [feather_follow]

Examples and Usage

Basic example – The shortcode below allows you to add a follow button for a specific social media platform.

[feather_follow network="facebook" /]

Advanced examples

If you want to add follow buttons for multiple social media platforms and specify the size of the buttons, you can use the following shortcode. The networks are separated by a comma.

[feather_follow network="facebook, twitter, linkedin" size="large" /]

You can also specify the alignment of the follow buttons. Here is an example of center-aligned buttons.

[feather_follow network="facebook, twitter, linkedin" align="center" /]

If you want to add a custom title for the follow buttons, you can do so by using the ‘title’ attribute.

[feather_follow network="facebook, twitter, linkedin" title="Follow us on:" /]

PHP Function Code

In case you have difficulties debugging what causing issues with [feather_follow] shortcode, check below the related PHP functions code.

Shortcode line:

add_shortcode( 'feather_follow', 'synved_social_follow_shortcode' );

Shortcode PHP function:

function synved_social_follow_shortcode( $atts, $content = null, $code = '' ) {
	return synved_social_button_list_shortcode( $atts, $content, $code, 'follow' );
}

Code file location:

social-media-feather/social-media-feather/synved-social/synved-social-setup.php

Conclusion

Now that you’ve learned how to embed the Social Media Feather | social media sharing Plugin shortcodes, understood the parameters, and seen code examples, it’s easy to use and debug any issue that might cause it to ‘not work’. If you still have difficulties with it, don’t hesitate to leave a comment below.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *