How to add Twitter share and Follow buttons to your blog or website

ADD Twitter share & Follow buttons

Add twitter share button and follow button to your website to help your visitors to share web content and connect with you on Twitter.

If you want to share content of your website then use following code and change blue color website name to your own website/blog name.

Twitter Share Button

You will get above twitter share button by using following code.


<a href=”https://twitter.com/share” class=”twitter-share-button” data-url=”http://itbloggertips.com/” data-size=”large”>Tweet</a>

<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?’http’:’https’;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+’://platform.twitter.com/widgets.js’;fjs.parentNode.insertBefore(js,fjs);}}(document, ‘script’, ‘twitter-wjs’);</script>


 

If you want to follow button then use following code and change blue color twitter name to your own twitter name.

Twitter Share Button

You will get above twitter follow button by using following code.

<a href=”https://twitter.com/ITBloggerTips” data-show-count=”false” data-size=”large”>Follow @ITBloggerTips</a>

<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?’http’:’https’;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+’://platform.twitter.com/widgets.js’;fjs.parentNode.insertBefore(js,fjs);}}(document, ‘script’, ‘twitter-wjs’);</script>

You may also like:

How to add Linkedin share, follow & recommended button to website/blog

SiteGround Black Friday Sale Below Banner

Get Free Blogging Tips & Technology updates in your Email !!!

Subscribe via RSS feed

The following two tabs change content below.
Anil Kumar
IT Blogger Tips focus on Blogging Tips, SEO Tips, Social Media, SQL Tips, PL/SQL Tips, Oracle DBA, Linux/Unix, Latest Technology, How Tos and Technical Solutions. You can find us on Facebook | Twitter |
Find on Google+

Siteground SALE
70% OFF SiteGround WordPress Hosting – $2.95/month (Exclusive Offer !!!)