Widget Social Sharing Dibawah Postingan Blog - Widget ini sangat bagus dan cocok untuk dipasang dibawah postingan blog. Sebenarnya widget ini tidak harus dipasang dibawah postingan, namun jika ingin memasangnya disedebar pun juga bisa tinggal selera pemilik blog saja. Dengan begini maka blog anda akan terlihat menjadi lebih rapi dan akan menarik perhatian pengunjung blog untuk berlangganan artikel-artikel dari blog anda. Untuk membuat widget ini, berikut ini adalah cara Membuat Widget Social Sharing Dibawah Postingan Blog:
1. Login ke Blogger.
2. Klik Template > Edit HTML > Lanjutkan > Centang Expand Template Widget > lalu copy kode berikut ini kemudian letakan tepat dibawah kode <data:post.body/>
Keterangan :
Setiap kode yang berwarna merah ganti dengan ID anda masing-masing.
Jika terdapat 2 kode <data:post.body/> maka anda pilih saja yang pertama atau bisa juga yang kedua, sesuaikan saja dengan blog anda.
4. Simpan Template dan selesai.
Tambahan :
Jika anda menginginkan widget ini dipasang pada sidebar blog maka caranya:
Klik Tata Letak > Tambah Widget > HTML/Javascript lalu masukkan kode diatas, kemudian Save dan Selesai.
1. Login ke Blogger.
2. Klik Template > Edit HTML > Lanjutkan > Centang Expand Template Widget > lalu copy kode berikut ini kemudian letakan tepat dibawah kode <data:post.body/>
<!--No Ordinary Social Subscription Widget-->
<b:if cond='data:blog.pageType == "item"'>
<style>
.tbibox {
background: #fff;
border: 1px solid #ddd;
height: 360px;
margin: 10px auto;
padding: 10px;
width: 572px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
.tbisubscribe {
border: 1px solid #D3D3D3;
padding: 8px;
width: 300px;
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
.tbisubscribe:hover {
-moz-box-shadow: inset 1px 1px 10px 1px rgba(249, 215, 126, 1);
-webkit-box-shadow: inset 1px 1px 10px 1px rgba(249, 215, 126, 1);
box-shadow: inset 1px 1px 10px 1px rgba(249, 215, 126, 1);
}
.tbimailbox {
border: 1px solid #D3D3D3;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: 1px 1px 1px 1px rgba(255, 172, 84, 0.4) inset;
-webkit-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4) inset;
box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4) inset;
color: #666;
font: 14px "trebuchet ms", sans-serif;
padding: 7px 15px;
width: 160px;
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
.tbimailbox:hover {
-webkit-box-shadow: none;
box-shadow: none;
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
.tbisubmit {
font: bold 12px Tahoma, Geneva, sans-serif;
font-style: normal;
color: #ffffff;
background: #ff5714;
border: 0px solid #ffffff;
text-shadow: 0px -1px 1px #222222;
box-shadow: 2px 2px 5px #000000;
-moz-box-shadow: 2px 2px 5px #000000;
-webkit-box-shadow: 2px 2px 5px #000000;
border-radius: 10px 10px 10px 10px;
-moz-border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
padding: 8px 15px;
cursor: pointer;
margin: 0 auto;
}
.tbisubmit:active {
cursor: pointer;
position: relative;
top: 2px;
}
.tbisubmit::-moz-focus-inner {
border: 0;
padding: 0;
margin: 0;
}
.tbisharebox {
border: 1px solid #D3D3D3;
margin: -157px 0 0 330px;
padding: 8px;
width: 225px;
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
.tbisharebox:hover {
-moz-box-shadow: 1px 1px 2px #CCC inset;
-webkit-box-shadow: inset 1px 1px 55px 1px rgba(249, 215, 126, 1);
box-shadow: inset 1px 1px 55px 1px rgba(249, 215, 126, 1);
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
</style>
<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css' />
<div class='tbibox'>
<div class='tbisubscribe'>
<div style='color: #666666; font-weight: bold; font: 22px Oswald, cursive; margin: 0px 0px 10px 15px;'>Get Free Updates in your Inbox</div>
<div style='margin: 10px 0 0 6px;'>
<form action='http://feedburner.google.com/fb/a/mailverify' class='emailform'
method='post' onsubmit='window.open('http://feedburner.google.com/fb/a/mailverify?uri=masandes', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true'
style='margin: 0pt;' target='popupwindow'>
<input name='uri' type='hidden' value='masandes' />
<input name='loc' type='hidden' value='en_US' />
<input class='tbimailbox' name='email' onblur='if (this.value == "") {this.value = "Enter your email...";}'
onfocus='if (this.value == "Enter your email...") {this.value = ""}'
type='text' value='Enter your email...' />
<input alt='' class='tbisubmit' title='' type='submit' value='Subscribe'/>
</form>
</div>
<div style='border: none; color: #666666; font: 22px Oswald, cursive; margin: 25px 0 0 5px;'>Follow us on:</div>
<div style='margin: -32px 0 0 120px;'>
<a href='https://www.facebook.com/andestyle' target='_blank' title='Join us on Facebook'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjioRIUMnkuT5j-SLW4I2EojcoNyqUSKD58TvGEbG8lnCblCTD9m7mxSHB1I6TEiCzYODJvUe3Duda_aLl0dUyvmA-vUVfMocLkliAHtI1XhxOnuQsLSoGgFe_bSwlWZ7MBIxZAqpFp_hs/s32/facebook500.png' alt='facebook'/></a>
<a href='https://twitter.com/RizkyAndes' rel='nofollow' target='_blank'
title='Follow us on Twitter'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmvoRPtQpgs99EXkFLIRh6r_7wLXg1FkdI17iBX6DjdSsazNBdXkmrHiGoXHjp5QVPz5sPFc9DOrWnxIUCMtLxXKoAKj5mUo5MfX64yJWDZErMkdPrLYYV1viGsC_ZerCmgTX7-11kIQ4/s32/twitter.png' alt='twitter'/></a>
<a href='https://plus.google.com/104093787575230359634' rel='nofollow' target='_blank'
title='Follow us on Google+'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6OXZlAPWq4JCPc-Axgv14cv7gSDABKsvdEIDaiyogZwzAguqhC5O_6WAVR0Ip9DzxHznf4B4lOG7bWDDYu_KOGXVRsqaVm0p-EA5-s3dqsPf3jtcAIerzZ3dzX2mdBErkQrRD9oiasQ8/s32/googleplus-revised.png' alt='gplus'/></a>
<a href='http://pinterest.com/andesrizky' rel='nofollow' target='_blank'
title='Follow us on Pinterest'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO2qdhXxYCcTlWBinPCN7HdRvAA5n7tojVNjkOOpMsxDD_bbRaDWR0NiBUXyur1FFbViQtRAHtOffwfN7Ml9GlIZNvgkFeHwiV2W0Dcuqm7od6iI8UMQsnQiB_4d-MjdkAmnPPbrTHsIU/s32/pinterest.png' alt='pinterest'/></a>
<a href='RSS URL' rel='nofollow' target='_blank'
title='Subscribe to RSS'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7bxw3TsIUwBQTLM_bm_QrrSKySbO-wheEI3dMhxjlaQZlGfUOlf7_T2xYPIBiUgHR5hDT0c4Q37dSMtAb8E3Yy96MHJgx4w00PXF6FaxVSaqJHkmaAaDqVdQy56QC0dA-IxdNd52Y6o/s32/rss.png' alt='rss'/></a>
</div>
</div>
<div class='tbisharebox'>
<script type='text/javascript'>
var switchTo5x = true;
</script>
<script src='http://w.sharethis.com/button/buttons.js' type='text/javascript'/>
<script type='text/javascript'>
stLight.options({
onhover: false
});
</script>
<div style='margin: 5px 5px;'>
<span class='st_fblike_hcount' displaytext=''></span>
</div>
<div style='margin: -30px -20px 0 0; float: right;'>
<a href='http://twitter.com/share' rel='nofollow' class='twitter-share-button'
expr:data-url='data:post.canonicalUrl' expr:data-text='data:post.title'
data-count='horizontal' data-lang='en'></a>
<b:if cond='data:post.isFirstPost'>
<script type='text/javascript' src='http://platform.twitter.com/widgets.js'></script>
</b:if>
</div>
<div class='addthis_toolbox addthis_default_style' style='margin: 10px 0 12px 85px;'>
<a class='addthis_counter'></a>
<script type='text/javascript' src='http://s7.addthis.com/js/250/addthis_widget.js'></script>
</div>
<div style='margin: 5px 5px;'>
<su:badge layout='1'></su:badge>
<script type='text/javascript'>
(function () {
var li = document.createElement('script');
li.type = 'text/javascript';
li.async = true;
li.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + '//platform.stumbleupon.com/1/widgets.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(li, s);
})();
</script>
</div>
</div>
<div style='float: right; margin: -40px -5px 0 0;'>
<div class='g-plusone' data-size='medium' expr:data-href='data:post.url'></div>
<script type='text/javascript'>
(function () {
var po = document.createElement('script');
po.type = 'text/javascript';
po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(po, s);
})();
</script>
</div>
<div style='margin-top: 20px;'>
<iframe allowTransparency='true' frameborder='0' scrolling='no' src='http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fandestyle&width=570&colorscheme=light& show_faces=true&stream=false&header=false&height=180'
style='border:none; overflow:hidden; width:570px; height:180px;' />
</div>
</div>
</b:if>
<!--No Ordinary Social Subscription Widget-->
Setiap kode yang berwarna merah ganti dengan ID anda masing-masing.
Jika terdapat 2 kode <data:post.body/> maka anda pilih saja yang pertama atau bisa juga yang kedua, sesuaikan saja dengan blog anda.
4. Simpan Template dan selesai.
Tambahan :
Jika anda menginginkan widget ini dipasang pada sidebar blog maka caranya:
Klik Tata Letak > Tambah Widget > HTML/Javascript lalu masukkan kode diatas, kemudian Save dan Selesai.