So today we will see how to add smart layer of social media button to our blog. It's very easy ,even a non professional person can add these button to their blogs.By adding these amazing style buttons to your site will not only increase the traffic but also your design will look cool to readers .
OK let see how to add smart layer to your blog step by step.
INSTRUCTIONS:
1-Open dashboard of blogger account and click on your blog link where you want to add smart layer.
If you are newbie and don't know how to open bloggers account then please read my previous post
2-Click on Layout ---> Add a Gadget, then select HTML/JavaScript Gadget from new opened window.
3-Title field leave it blank.Copy the code(need to do some changes before coping ,written below) and paste Down in content ------> press save.
CODE:
<!-- AddThis Smart Layers BEGIN -->In this code you need to put:
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51ec51af3dccd664"></script>
<script type="text/javascript">
addthis.layers({
'theme' : 'transparent',
'share' : {
'position' : 'right',
'numPreferredServices' : 5
},
'follow' : {
'services' : [
{'service': 'facebook', 'id': 'Facebook Profile ID'},
{'service': 'twitter', 'id': 'Twitter Profile ID'},
{'service': 'linkedin', 'id': 'Linkedin Profile ID'},
{'service': 'google_follow', 'id': 'Google profile ID'}
]
},
});
</script>
<!-- AddThis Smart Layers END -->
Facebook Profile ID
Twitter Profile ID
LinkedIn Profile ID
& Google plus ID
How to search the Profile ID's of these Social Sites. Just login to your account and click on profile.
You will see in address bar..
taniajamil is your Facebook profile ID..just remove the Facebook Profile ID from code and put taniajamil
Repeat the same steps for other three social sites.
In the code you can do some changing for different effect.
like 'theme' is transparent here but can be change to Light, Gray and Dark.
numPreferredServices is 5 can be 4 or 6 as well.
Coding Credit goes to addthis.com.
If you face any problem either consult from addthis.com site or leave comment I will must reply .
Hope so this article will be helpful .thanks
0 comments: