Last month we published 35 WordPress Plugins for 2014, a collection of plugins we thought would be the most popular this year.In that list you will find one plugin I really liked, the Metro Style Social Widget.The plugin displays a block of metro social icons linked to your social profiles.So I thought can we get this plugin to work on Blogger ?
A search showed a number of people had tried to recreate the widget for Blogger but often with messy results.So building on their lead I had a go at creating a proper version, in fact two version.The reason for creating two versions is to accommodate the social networks different bloggers have.
The first version has icons for Facebook, Twitter, Google Plus, Pinterest, and RSS Feed.For the second one I have included LinkedIn and YouTube.I have included a screenshot below but also see the demos to see the gadgets live.
Version 1 Demo – Check out the demo on Our Free Blogger Template Site.
Version 2 Demo – Check out the demo on a demo site here.
Add The Metro Social Widget To Your Blog
Step 1) In The New Blogger Dashboard Click The Drop Down For Your Blog > Choose Layout > Click Add A Gadget > Choose HTML/Javascript > Paste In The Code as shown in the video below :
Version 1 Code :
Note – Change the URLs in yellow with the links to your social profiles.
<div class='metro-social'> <li><a class="fb" href="https://www.facebook.com/YOURFACEBOOK/" rel="nofollow"></a></li> <li><a class="tw" href="http://twitter.com/YOURTWITTER/"></a></li> <li><a class="gp" href="https://plus.google.com/YOURGOOGLEPLUS/"></a></li> <li><a class="pi" href="http://www.pinterest.com/YOURPINTEREST/" rel="nofollow"></a></li> <li><a class="fd" href="http://feeds.feedburner.com/YOURFEEDBURNER" rel="nofollow"></a></li> </div>
<style> .metro-social{width:285px} .metro-social li{position:relative;cursor:pointer;padding:0;list-style:none} .metro-social .fb,.tw,.gp,.pi,.in,.yt,.fd{z-index:7;float:left;margin:0.1px;position:relative;display:block} .metro-social .fb{background:url(http://4.bp.blogspot.com/-0A1QMUBu-Pw/UvADehN8mdI/AAAAAAAANX0/_xzNMdnGtNE/s1600/fb%601.png) no-repeat center center #1f69b3;width:140px;height:141px} .metro-social .tw{background:url(http://3.bp.blogspot.com/-EvcnRY3Pskc/UvAEIYOjtCI/AAAAAAAANX8/r0JREVKU01A/s1600/tw1.png) no-repeat center center #43b3e5;width:68px;height:70px} .metro-social .gp{width:69px;height:70px;background:url(http://3.bp.blogspot.com/-go5PVIk0jH4/UvAEVzsRU_I/AAAAAAAANYE/E31yyYUjepQ/s1600/g+1.png) no-repeat center center #da4a38} .metro-social .pi{background:url(http://1.bp.blogspot.com/-VPrGYdGqtCA/UvAEjYP2NpI/AAAAAAAANYM/ccmZMNnVB9c/s1600/pin1.png) no-repeat center center #d73532;width:68px;height:70px} .metro-social .fd{background:url(http://4.bp.blogspot.com/-aS2ZxT861N0/UvAFHo9Nw9I/AAAAAAAANYk/mIVTg9K96DM/s1600/feed1.png) no-repeat center center #e9a01c;width:68px;height:70px} .metro-social li:hover .fb{background:url(http://3.bp.blogspot.com/-kFGbmHoDcDo/UvAF_QUMQuI/AAAAAAAANYw/GlTC6yIaH0M/s1600/fb2.png) no-repeat center center #1f69b3} .metro-social li:hover .tw{background:url(http://2.bp.blogspot.com/-Bm-vdbgf404/UvAGNVipFcI/AAAAAAAANY4/9E8R_FajJx0/s1600/tw2.png) no-repeat center center #43b3e5} .metro-social li:hover .gp{background:url(http://2.bp.blogspot.com/-1M5XBUgIvwk/UvAGY7T1Z0I/AAAAAAAANZA/SsMbyHHj11s/s1600/g+2.png) no-repeat center center #da4a38} .metro-social li:hover .pi{background:url(http://4.bp.blogspot.com/-_gVboXX6bkY/UvAGkGwxZTI/AAAAAAAANZI/fxhNrEMZmu4/s1600/pi2.png) no-repeat center center #d73532} .metro-social li:hover .fd{background:url(http://1.bp.blogspot.com/-xaMk9RYAtVg/UvAHHXiDdAI/AAAAAAAANZg/Afegk34so5E/s1600/feed2.png) no-repeat center center #e9a01c} </style>
Version 2 Code :
Note – Change the URLs in yellow with the links to your social profiles.
<div class='metro-social'> <li><a class="fb" href="http://www.facebook.com/YOURFACEBOOK/" rel="nofollow"></a></li> <li><a class="tw" href="http://twitter.com/YOURTWITTER/"></a></li> <li><a class="gp" href="https://plus.google.com/YOURGOOGLEPLUS/"></a></li> <li><a class="pi" href="http://www.pinterest.com/YOURPINTEREST/" rel="nofollow"></a></li> <li><a class="in" href="http://www.linkedin.com/YOURLINKEDIN/" rel="nofollow"></a></li> <li><a class="yt" href="http://www.youtube.com/YOURYOUTUBE/"></a></li> <li><a class="fd" href="http://feeds.feedburner.com/YOURFEEDBURNER/" rel="nofollow"></a></li> </div>
<style> .metro-social{width:285px} .metro-social li{position:relative;cursor:pointer;padding:0;list-style:none} .metro-social .fb,.tw,.gp,.pi,.in,.yt,.fd{z-index:7;float:left;margin:1px;position:relative;display:block} .metro-social .fb{background:url(http://4.bp.blogspot.com/-0A1QMUBu-Pw/UvADehN8mdI/AAAAAAAANX0/_xzNMdnGtNE/s1600/fb%601.png) no-repeat center center #1f69b3;width:140px;height:141px} .metro-social .tw{background:url(http://3.bp.blogspot.com/-EvcnRY3Pskc/UvAEIYOjtCI/AAAAAAAANX8/r0JREVKU01A/s1600/tw1.png) no-repeat center center #43b3e5;width:68px;height:70px} .metro-social .gp{width:69px;height:70px;background:url(http://3.bp.blogspot.com/-go5PVIk0jH4/UvAEVzsRU_I/AAAAAAAANYE/E31yyYUjepQ/s1600/g+1.png) no-repeat center center #da4a38} .metro-social .pi{background:url(http://1.bp.blogspot.com/-VPrGYdGqtCA/UvAEjYP2NpI/AAAAAAAANYM/ccmZMNnVB9c/s1600/pin1.png) no-repeat center center #d73532;width:68px;height:69px} .metro-social .in{background:url(http://2.bp.blogspot.com/-T1XijrSHlbM/UvAEvP7jG0I/AAAAAAAANYU/KP-0ZEWeFzw/s1600/Lin1.png) no-repeat center center #0097bd;width:69px;height:69px} .metro-social .yt{background:url(http://3.bp.blogspot.com/-KBVp5hxYiPk/UvAE80VicuI/AAAAAAAANYc/TRb8ZbcXoVA/s1600/YT1.png) no-repeat center center #e64a41;width:140px;height:69px} .metro-social .fd{background:url(http://4.bp.blogspot.com/-aS2ZxT861N0/UvAFHo9Nw9I/AAAAAAAANYk/mIVTg9K96DM/s1600/feed1.png) no-repeat center center #e9a01c;width:140px;height:69px} .metro-social li:hover .fb{background:url(http://3.bp.blogspot.com/-kFGbmHoDcDo/UvAF_QUMQuI/AAAAAAAANYw/GlTC6yIaH0M/s1600/fb2.png) no-repeat center center #1f69b3} .metro-social li:hover .tw{background:url(http://2.bp.blogspot.com/-Bm-vdbgf404/UvAGNVipFcI/AAAAAAAANY4/9E8R_FajJx0/s1600/tw2.png) no-repeat center center #43b3e5} .metro-social li:hover .gp{background:url(http://2.bp.blogspot.com/-1M5XBUgIvwk/UvAGY7T1Z0I/AAAAAAAANZA/SsMbyHHj11s/s1600/g+2.png) no-repeat center center #da4a38} .metro-social li:hover .pi{background:url(http://4.bp.blogspot.com/-_gVboXX6bkY/UvAGkGwxZTI/AAAAAAAANZI/fxhNrEMZmu4/s1600/pi2.png) no-repeat center center #d73532} .metro-social li:hover .in{background:url(http://2.bp.blogspot.com/-Nr_yxEHSFfk/UvAGwqCy7jI/AAAAAAAANZQ/qlL_t0v9KDU/s1600/Lin2.png) no-repeat center center #0097bd} .metro-social li:hover .yt{background:url(http://4.bp.blogspot.com/-G55PsvzNe_0/UvAG7jxoM4I/AAAAAAAANZY/QhYfuh6HUsk/s1600/yt2.png) no-repeat center center #e64a41} .metro-social li:hover .fd{background:url(http://1.bp.blogspot.com/-xaMk9RYAtVg/UvAHHXiDdAI/AAAAAAAANZg/Afegk34so5E/s1600/feed2.png) no-repeat center center #e9a01c} </style>
OK that’s the metro social icons drop your comments and questions below.
11 comments:
Melaka Shop February 8, 2014 at 4:20 AM
i use them, Awesome Paul!
Paul Crowe February 11, 2014 at 1:56 PMYour Welcome Melaka.
Delete
Ayesha Anwar February 8, 2014 at 12:51 PMAwesome! I will must try this widget. But there is no video for this. Anyhow thanks for sharing this widget. 🙂
Paul Crowe February 11, 2014 at 1:58 PMI thought the tutorial was easy to follow so there would be no need for a video Ayesha.
Delete
Anchit Shethia February 10, 2014 at 12:34 PM
Wow! This guide was really helpful man! I thought I won’t get this widget on my blogger blog like I have it on my wordpress blog.
Adding this code now. I hope I dont mess up placing the code though!ReplyDelete
Paul Crowe February 11, 2014 at 2:00 PM
No code to be added to the template so there is no fear of messing the code up Anchit 🙂
Delete
- Reply
Ariadmin February 19, 2014 at 11:22 AMWow it’s beautiful and worked! Thanks for sharing!
ReplyDelete
chandana mannedi February 26, 2014 at 6:01 AMHey thank for sharing this. I have a question. I am new to blogging and i don’t have RSS so what changes should I make in the code and what should i do to get feedburner
ReplyDelete
Paul Crowe February 26, 2014 at 11:21 AM
Check out this post for how to get a feedburner feed for your blog – http://www.spiceupyourblog.com/2009/09/how-to-get-rss-feed-for-your-blog.html
Delete
- Reply
Pahompu Hutauruk June 8, 2014 at 8:56 PMThank for the Tutorial Bro, and i’ve use it in my blog, and some other nice tutorial, i’m from Indonesia and hope Mr. Paul Crowe let me to translate to indonesia any of your tutorials and publish it in my blog… and i will note the direct source… thank you
ReplyDelete
Sahaj TechnoGeek June 28, 2014 at 2:16 PMThank you very much!
ReplyDelete