Cara membuat Widget Berlangganan Dibawah Posting
Membuat Widget Berlangganan Artikel Via Email, RSS, Facebook Twitter di Bawah Postingan Blog.
Sebanyak apa pelanggan artikel /
postingan sobat blogger? masih sedikit, atau lambat sekali nambahnya?
Nah, bisa jadi di blog sobat belum dipasang widget untuk berlangganan
untuk update postingan blog. Sebetulnya banyak cara agar pelanggan blog
kita terus bertambah, bisa dengan memasang halaman facebook, twitter follower box, memasang widget berlangganan via email dan lainnya.
Memang, banyak teknik yang dipakai
seorang blogger dalam memasang widget-widget seperti ini, ada yang
menempatkannya terpisah-pisah antara satu dengan yang lain. Mungkin
facebook page tersendiri, follow twitter atau subscribe via rss
tersendiri.
Atau bisa jadi sobat
menempatkannya di sidebar, footer maupun di bawah postingan blog. Dan
saya kira semua tergantung selera si pemilik blog itu sendiri. Namun
jangan salah, penempatan widget berlangganan artikel juga perlu strategi
tersendiri agar mudah dilihat pengunjung blog, dan pengunjung tertarik
untuk berlangganan artikel blog kita.
Pada tutorial kali ini, saya mau
sedikit berbagi kepada sobat blogger yang lain, bagaimana cara membuat
widget berlangganan artikel blog yang letaknya di bawah postingan blog,
dimana seluruhnya digabungkan, yaitu via email, rss feed, facebook page,
twitter dan google plus 1.
Untuk melihat live demonya sobat bisa buka di sini
widget pelanggan blog |
Oke saya kira langsung saja.
1. Masuk ke akun blogger > Dasbor > Template > Edit HTML
2. Jangan lupa backup dulu template sobat dan centang Expand Template Widget.
3. Cari kode berikut ini;
<data:post.body/>atau jika di template sobat ada banyak macam kode di atas, agar tidak bingung cari kode di bawah;
<div class='post-footer-line post-footer-line-1'/>
Kemudian masukkan kode berikut ini, di atas kode tadi (pilih salah satu)
<b:if cond='data:blog.pageType == "item"'>
<style>
form.feedburner{
margin:20px 0 0;
display:block;
clear:both;
}
.dcstyle{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq8OAEK1duq9tFWKE5xjKkOvVYN-q6LuKA4zKMHkyI6fOG13yfzHoy-j_WhfFFqiBVUockR_7OZyNRxyVwROzH4xFDspEWoDINPbmr2dTZXL5YPebRjsXFq_TqOdCWJ8lAyIBWOS5UE_Bc/s400/email_icon.png) no-repeat scroll 4px center transparent;
padding:7px 15px 7px 35px;
color:#666;
font-weight:bold;
text-decoration:none;
border:1px solid #D3D3D3;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: 1px 1px 2px #CCC inset;
-webkit-box-shadow: 1px 1px 2px #CCC inset;
box-shadow: 1px 1px 2px #CCC inset;
}
.dcsubmit{
color:#666;
font-weight:bold;
text-decoration:none;
padding:6px 15px;
border:1px solid #D3D3D3;
cursor: pointer;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-goog-ms-border-radius: 4px;
border-radius: 4px;
background: #fbfbfb;
background: -moz-linear-gradient(top, #fbfbfb 0%, #f4f4f4 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fbfbfb), color-stop(100%,#f4f4f4));
background: -webkit-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
background: -o-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
background: -ms-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FBFBFB', endColorstr='#F4F4F4',GradientType=0 );
background: linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
}
#emailwidget-outer {
-moz-border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
-goog-ms-border-radius: 10px 10px 10px 10px;
border-radius: 10px;
background: none repeat scroll 0 0 transparent;
border: 1px solid #D3D3D3;
padding: 8px;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
width:480px;
}
#emailwidget-outer:hover{
background: none repeat scroll 0 0 #FFF;
-moz-box-shadow: 1px 1px 2px #CCC inset;
-webkit-box-shadow: 1px 1px 2px #CCC inset;
box-shadow: 1px 1px 2px #CCC inset;
}
#emailwidget-outer td{
padding:3px 0;
}
</style>
<center>
<div id='emailwidget-outer'>
<div id='emailwidget'>
<table style='border:none; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px;' width='100%'>
<tbody>
<tr style='border:none; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px;'>
<td align='left' style='border:none; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px;'> <p style='color:#666; font-weight: bold; font-size: 18px; margin:0px 0px 5px 0px; '>Berlangganan artikel via email!</p>
<form action='http://feedburner.google.com/fb/a/mailverify' class='feedburner' method='post' onsubmit='window.open('http://feedburner.google.com/fb/a/mailverify?uri=blogbelajar2', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true' style='margin: 0pt;' target='popupwindow'>
<input name='uri' type='hidden' value='blogbelajar2'/>
<input name='loc' type='hidden' value='en_US'/>
<input class='dcstyle' 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='dcsubmit' title='' type='submit' value='Submit'/>
</form>
</td>
<td style='border:none; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px;'><p style='color:#666; font-weight: bold; font-size: 14px; margin:0px 0px 5px 0px; '>Follow us!</p>
<a href='http://feeds.feedburner.com/blogbelajar2' rel='nofollow' target='_blank' title='Suscribe to RSS Feed'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxgK6VSCMt_X4neopIGg1tZ7BB9yl-121sAra_RhI7mlOQEt8G2jL2IE5gjZzxll62VDhkrZjPLIMktuyLJ38ezyu5UxMDthKNf5oRdLIHiAKwVEGfJ47hyphenhyphenfHSEunVpFq_X15DAnYCnTI/s1600/rss-30×43.png'/></a>
<a href='http://twitter.com/supergaptech' rel='nofollow' target='_blank' title='Follow us on Twitter'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-k5oqGANSuGdXm6abJbmIyMeoUib2BryBXbtvrtGJuLhg_SVv7VMFZ74tEpuS8iZln_U2pi78jcow9SkhCKfA0Uy_apMz-LPjOarhkkgeHKrR91oR5bI2JDiotUXqaR5452PS5TSMXCM/s1600/twitter-30×43.png'/></a>
<a href='http://www.facebook.com/caramembuatblogspot' rel='nofollow' target='_blank' title='Follow us on Facebook'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZhuFp3srPQyDPklOJHM5ipQYz8mvXBd6YDQ1Gixp0-p5ORraplJlONGsKGeZmUO1xcmeG8MhPOvz2LIDU-1XZdAPoOAIi9yM0x7v55Yrv5dFuL_WkRjfDbcKKO2nW1Qxdjs72vpWDtrQ/s1600/facebook-30×43.png'/></a>
<a href='https://plus.google.com/103723295306374803147/' rel='nofollow' target='_blank' title='Follow us on Google+'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXD225SNqtwwiOPZuZFRiVV2tZfgrqbPBgZWpezpPubVMF4tMGIXNeQyjhf4PM1cpcCG-X1A88vt4Go9z6QgC0Q8d774R_BUZp7DRHcrSkRSqWlufKnNJZOTZx-pYxHvZ3H-RfeqTvw3k/s1600/googleplus-30×43.png'/></a>
</td>
</tr>
</tbody></table>
<div align='right'><span style='font-style: italic; font-size: 8px; color: solid #f3f3f3;'><a href='http://www.super-gaptek.com/' style='text-decoration: none;' target='_blank'><font color='#f4f4f4' decoration='none'>[Get this widget]</font></a></span></div>
</div></div>
</center>
</b:if>
<style>
form.feedburner{
margin:20px 0 0;
display:block;
clear:both;
}
.dcstyle{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq8OAEK1duq9tFWKE5xjKkOvVYN-q6LuKA4zKMHkyI6fOG13yfzHoy-j_WhfFFqiBVUockR_7OZyNRxyVwROzH4xFDspEWoDINPbmr2dTZXL5YPebRjsXFq_TqOdCWJ8lAyIBWOS5UE_Bc/s400/email_icon.png) no-repeat scroll 4px center transparent;
padding:7px 15px 7px 35px;
color:#666;
font-weight:bold;
text-decoration:none;
border:1px solid #D3D3D3;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: 1px 1px 2px #CCC inset;
-webkit-box-shadow: 1px 1px 2px #CCC inset;
box-shadow: 1px 1px 2px #CCC inset;
}
.dcsubmit{
color:#666;
font-weight:bold;
text-decoration:none;
padding:6px 15px;
border:1px solid #D3D3D3;
cursor: pointer;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-goog-ms-border-radius: 4px;
border-radius: 4px;
background: #fbfbfb;
background: -moz-linear-gradient(top, #fbfbfb 0%, #f4f4f4 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fbfbfb), color-stop(100%,#f4f4f4));
background: -webkit-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
background: -o-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
background: -ms-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FBFBFB', endColorstr='#F4F4F4',GradientType=0 );
background: linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
}
#emailwidget-outer {
-moz-border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
-goog-ms-border-radius: 10px 10px 10px 10px;
border-radius: 10px;
background: none repeat scroll 0 0 transparent;
border: 1px solid #D3D3D3;
padding: 8px;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
width:480px;
}
#emailwidget-outer:hover{
background: none repeat scroll 0 0 #FFF;
-moz-box-shadow: 1px 1px 2px #CCC inset;
-webkit-box-shadow: 1px 1px 2px #CCC inset;
box-shadow: 1px 1px 2px #CCC inset;
}
#emailwidget-outer td{
padding:3px 0;
}
</style>
<center>
<div id='emailwidget-outer'>
<div id='emailwidget'>
<table style='border:none; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px;' width='100%'>
<tbody>
<tr style='border:none; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px;'>
<td align='left' style='border:none; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px;'> <p style='color:#666; font-weight: bold; font-size: 18px; margin:0px 0px 5px 0px; '>Berlangganan artikel via email!</p>
<form action='http://feedburner.google.com/fb/a/mailverify' class='feedburner' method='post' onsubmit='window.open('http://feedburner.google.com/fb/a/mailverify?uri=blogbelajar2', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true' style='margin: 0pt;' target='popupwindow'>
<input name='uri' type='hidden' value='blogbelajar2'/>
<input name='loc' type='hidden' value='en_US'/>
<input class='dcstyle' 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='dcsubmit' title='' type='submit' value='Submit'/>
</form>
</td>
<td style='border:none; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px;'><p style='color:#666; font-weight: bold; font-size: 14px; margin:0px 0px 5px 0px; '>Follow us!</p>
<a href='http://feeds.feedburner.com/blogbelajar2' rel='nofollow' target='_blank' title='Suscribe to RSS Feed'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxgK6VSCMt_X4neopIGg1tZ7BB9yl-121sAra_RhI7mlOQEt8G2jL2IE5gjZzxll62VDhkrZjPLIMktuyLJ38ezyu5UxMDthKNf5oRdLIHiAKwVEGfJ47hyphenhyphenfHSEunVpFq_X15DAnYCnTI/s1600/rss-30×43.png'/></a>
<a href='http://twitter.com/supergaptech' rel='nofollow' target='_blank' title='Follow us on Twitter'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-k5oqGANSuGdXm6abJbmIyMeoUib2BryBXbtvrtGJuLhg_SVv7VMFZ74tEpuS8iZln_U2pi78jcow9SkhCKfA0Uy_apMz-LPjOarhkkgeHKrR91oR5bI2JDiotUXqaR5452PS5TSMXCM/s1600/twitter-30×43.png'/></a>
<a href='http://www.facebook.com/caramembuatblogspot' rel='nofollow' target='_blank' title='Follow us on Facebook'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZhuFp3srPQyDPklOJHM5ipQYz8mvXBd6YDQ1Gixp0-p5ORraplJlONGsKGeZmUO1xcmeG8MhPOvz2LIDU-1XZdAPoOAIi9yM0x7v55Yrv5dFuL_WkRjfDbcKKO2nW1Qxdjs72vpWDtrQ/s1600/facebook-30×43.png'/></a>
<a href='https://plus.google.com/103723295306374803147/' rel='nofollow' target='_blank' title='Follow us on Google+'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXD225SNqtwwiOPZuZFRiVV2tZfgrqbPBgZWpezpPubVMF4tMGIXNeQyjhf4PM1cpcCG-X1A88vt4Go9z6QgC0Q8d774R_BUZp7DRHcrSkRSqWlufKnNJZOTZx-pYxHvZ3H-RfeqTvw3k/s1600/googleplus-30×43.png'/></a>
</td>
</tr>
</tbody></table>
<div align='right'><span style='font-style: italic; font-size: 8px; color: solid #f3f3f3;'><a href='http://www.super-gaptek.com/' style='text-decoration: none;' target='_blank'><font color='#f4f4f4' decoration='none'>[Get this widget]</font></a></span></div>
</div></div>
</center>
</b:if>
4. Klik pratinjau, jika sudah bagus, simpan template. Jika belum jadi tambahkan kode penutup </div> di bawah kode terakhir sehingga menjadi ;
</center>
</b:if>
</div>
</b:if>
</div>
Pengaturan dan modifikasi widget;
- untuk kode berwarna biru silakan sesuaikan dengan selera sobat
- untuk kode yang berwarna merah, harus diganti dan sesuaikan dengan masing-masing akun
- Untuk mengurangi salah satu, silakan hapus saja kode antara <a href= sampai </a>
1 comments:
Semoga Bermanfaat .Terimakasih
https://goo.gl/VNresU
Post a Comment