Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Adding Social Sharing Button to Website: Using Text Widget
Nowadays social media has become an integral part of marketing and promotions. Be its a corporate site or personal branding site, everyone needs that social connect; to build the loyal fans and followers for your content/offerings. Hence adding social networking links has become a necessity.
You can add social networking buttons to your site in many ways:
Adding code to the text widget.
Adding plugins related to social networking.
Adding code to the text widget or in the code:
Most of the social networking portals such as Facebook, Twitter have a share or like button code. This code can be copy pasted in the text widget. For example, If you want to add like button in the widget area you can follow the below steps :
Go to the Facebook Like Button generator.
Enter URL of your Facebook page where visitors will like your page.
You can also change the setting such as changing the layout, adjusting the width, font etc.
Once you are done with the setting you need to click on 'Get Code' button.
- A thick box will open. In iframe tab select the code.
- Now login to your WordPress CMS and go to ‘Widgets’ under the ‘Appearance’ section.
You can find the iframe code from Tweet Button and add this code to the Text Widget to display the tweet button in the widget area.
The above information will make it easy for you to add social sharing buttons on your side bar. In next post we will be learning about using rtSocial Plugin to make the social sharing easier and more efficient.