Bukankah menarik jika pada blog sobat memiliki widget yang memiliki fungsi multi guna? Gambarnya seperti ini

Gambar 1.1. Tampilan widget

Menarik bukan? Untuk membuatnya cukup mudah kok, ikuti aja langkah-langkah di bawah ini

1. Masuk ke Dashboard ~> Blog Sobat ~> Template ~> Edit HTML ~> Lanjutkan ~> Centang  Expand Template Widget
 Gambar 1.1. Edit HTML

 Gambar 1.2. Lanjutkan

2. Cari kode </head> (Gunakan CTRL+F atau F3 Untuk mempercepat pencarian)
3. Setelah ketemu letakan kode dibawah ini tepat diatas kode yang tadi
<style type="text/css">
.subbox{width:305px;border:0 solid #141414;overflow:hidden}
.addthis_toolbox{padding:15px 0 5px 0;text-align:center}
.addthis_toolbox .custom_images a{width:32px;height:32px;margin:0 4px 0 4px;padding:0}
.addthis_toolbox .custom_images a:hover img{opacity:1}
.addthis_toolbox .custom_images a img{opacity:0.85}
.rssbox{background:#f7f6f6;border:1px solid #ccd1d7;padding:5px 10px;margin:10px 0 0 0;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;width:125px}
.rssbox:hover{border:1px solid #92aed1}
.rssbox a{color:#7c8a9b;text-transform:uppercase;text-decoration:none;font:bold 12px Arial,Helvetica,Sans-serif}
.rssbox a:hover{color:#7c8a9b;text-decoration:underline}
.emailsbox{background:#f7f6f6;border:1px solid #ccd1d7;padding:5px 10px;margin:10px 0 0 0;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;width:125px}
.emailsbox:hover{border:1px solid #92aed1}
.emailsbox a{color:#7c8a9b;text-transform:uppercase;text-decoration:none;font:bold 12px Arial,Helvetica,Sans-serif}
.emailsbox a:hover{color:#7c8a9b;text-decoration:underline}
.twitterbox{background:#f7f6f6;border:1px solid #ccd1d7;padding:5px 10px;margin:10px 0 0 0;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;width:125px}
.twitterbox:hover{border:1px solid #92aed1}
.twitterbox a{color:#7c8a9b;text-transform:uppercase;text-decoration:none;font:bold 12px Arial,Helvetica,Sans-serif}
.twitterbox a:hover{color:#7c8a9b;text-decoration:underline}
.facebookbox{background:#f7f6f6;border:1px solid #ccd1d7;padding:5px 10px;margin:10px 0 0 0;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;width:125px}
.facebookbox:hover{border:1px solid #92aed1}
.facebookbox a{color:#7c8a9b;text-transform:uppercase;text-decoration:none;font:bold 12px Arial,Helvetica,Sans-serif}
.facebookbox a:hover{color:#7c8a9b;text-decoration:underline}
#search{width:290px;padding:2px 2px;background:#f7f6f6;border:1px solid #ccd1d7;height:28px;margin-top:0;margin-left:5px;display:inline;float:left}
#search:hover{border:1px solid #92aed1}
#search form{margin:0;padding:0}
#search fieldset{margin:0;padding:0;border:none}
#search p{margin:0;font-size:85%}
#s{width:200px;margin:0 0 0 0;padding:5px 5px 5px 5px;border:none;font:normal 80% &quot;Tahoma&quot;,Arial,Helvetica,sans-serif;color:#000;float:left;background:#f7f6f6;display:inline}
input#searchsubmit{float:right;display:inline;margin:0 0 0 0;height:28px;background:#b2b2b2;color:#000;border:0 solid #222}
</style>
4. Simpan templatenya


Untuk yang kalimat simpannya tidak terlihat, hilangkan dulu kotak pencariannya
5. Masuk ke Dashboard -> Blog Sobat -> Tata Letak -> Tambah Gadget -> HTML/JavaScript
6. Masukan script dibawah ini pada konten elemen tersebut 
<div class="subbox">
<div id='search' style='display:inline;'>
<form action='/search' id='searchform' method='get'>
<input id="s" name="q" onblur="if (this.value == &quot;&quot;) {this.value = &quot;Search...&quot;;}" onfocus="if (this.value == &quot;Search...&quot;) {this.value = &quot;&quot;;}" type="text" value="Search..." />
<input id="searchsubmit" type="submit" value="Search" />
</form>
</div>
<table><tr>
<td><div class="rssbox">
<a href="http://feeds.feedburner.com/FEEDBURNER-ID" target="_blank" rel="nofollow"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCOUM6dFBlFpBfnyhhvnSFvewGi7_bQxdXPvl576y4yd3KZ73v9bcAkj02RLJ4Qx_gVeuMjJFLDU4iJKpeoxLN2hbZcxgTWEYj9f2d5DdP5ygny1j8EMp3BMq03YKESc3IvlMMKCb7i3WZ/"  alt="RSS Feed" title="RSS Feed" style="vertical-align:middle; margin-right: 5px;border:none;"  /></a><a href="http://feeds.feedburner.com/FEEDBURNER-ID" target="_blank" rel="nofollow">RSS Feed</a>
</div></td>
<td><div class="emailsbox">
<a href="http://feedburner.google.com/fb/a/mailverify?uri=FEEDBURNER-ID" target="_blank" rel="nofollow"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9hNPgBor1rRTZlPyCSEzBX71fgnrDmjMvwSVhPkagT-r78fghy4jhDts86lnsjCsxGy6OZudWyzOT-ld4qKWslH65NAnR3eiA0xGDEV8uQK95UAm86T8TWJkIZVk5QOFpc_ZdvNmjkYBU/"  alt="EMail Feed" title="EMail Feed" style="vertical-align:middle; margin-right: 5px;border:none;"  /></a><a href="http://feedburner.google.com/fb/a/mailverify?uri=FEEDBURNER-ID" target="_blank" rel="nofollow">EMail Feed</a>
</div></td>
</tr><tr>
<td><div class="twitterbox">
<a href="http://twitter.com/TWITTER-USERNAME" target="_blank" rel="nofollow"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgToy7JPmavvwpjzNk9b3H6d7OU4dWiO769vDR3qfNDi2VG9H3lwML2z0kkhhgTN1PQNOJphsBNwvMgCLLebZufE8xlv24Ils3kKdJV-xTAP8iC_Sv8wkQukcHEVlfHFNugs4CASvHA95p4/"  alt="Twitter" title="Twitter" style="vertical-align:middle; margin-right: 5px;border:none;"  /></a><a href="http://twitter.com/TWITTER-USERNAME" target="_blank" rel="nofollow">Twitter</a>
</div></td>
<td><div class="facebookbox">
<a href="http://www.facebook.com/FACEBOOK-USERNAME" target="_blank" rel="nofollow"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxy6roYCsBEO2cTN1FRsI6vsbexAcwTY0GWB-yArVO8cqVtmKoX37UeXQP8bGhYIMRIhli-iS_Fw-G2gw75fExuIXEJn2nPq0GYMMr7W5QHydoCit0ro6DL0p1TJJl-7PLhcNYm_Sr9Q-v/"  alt="Facebook" title="Facebook" style="vertical-align:middle; margin-right: 5px;border:none;"  /></a><a href="http://www.facebook.com/FACEBOOK-USERNAME" target="_blank" rel="nofollow">Facebook</a>
</div></td>
</tr></table>
<p style="display:none;" align="center">Widget by <a href="http://tutorialseo-blog.blogspot.com/" target="_blank">Tutorial Blogger</a></p>
<div class='addthis_toolbox'>
<div class='custom_images'>
<a class='addthis_button_twitter'><img alt='Twitter' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijiFguXw205llt_FUGcugDy3wED_HcFlAQoUCVPsHcKfzxHg_KqNYwBBaCX5d1Cik8d-cORUrOxOdZF_imFRv2sSpEfYYRj3HDIzfjpTWhRPes6JuRHI_KEM9GVbTqEkFahCSqiwVnRAk/' width='32'/></a>
<a class='addthis_button_delicious'><img alt='Delicious' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgecDa7wi24S8UoyannXyHAMypcqH5Fr5BP61P_c8d6vUy8Y6Pz-S3LeEA-M9snMILksfMzn3CB-qmoL-MHuVRW17M2QjoDaa-H_hlmz7d0vczGlDPUQ0CvMG8KdVK78t4Kz4pDaNvJX8A/' width='32'/></a>
<a class='addthis_button_facebook'><img alt='Facebook' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEwZ3KB16rHaf9V8VV8YldxFu9UlqNMJox40a-gvcfqJWY1HjAxWe5GGRPtfVmIAi-qzv11PUG_A5TdnrTGFJgvsJPuEAW3UI8hoU9qKv6LQ5u0JzGF_rRWNVYIHTqccHNx0yePlXiBVM/' width='32'/></a>
<a class='addthis_button_digg'><img alt='Digg' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpYoE9UFDezjtG3Lqdi70MkVYgQAI2Bgm6LyVnYid9dIL1pxllAdEaEIcZBvLjJeqEbv1B6QPnFwcf-IpayDQPMRPg4l-b4DcNzXTouJoxxg6MYWm-pSS49OHIhVMk0Iikyo4dyWvd4pQ/' width='32'/></a>
<a class='addthis_button_stumbleupon'><img alt='Stumbleupon' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUTJuz0Vh8-s0onSGcYy4fNY6NkWcpGErb19fz34Hpb9N3V5jkgzgvTJMEDinBerEq-rWeHnRImJuTWsIrSnPBoRkfOY7Uj8eYR48l4fC1AOY98n2s79M5toaYuMymB4I4LOGtA8pHQYI/' width='32'/></a>
<a class='addthis_button_favorites'><img alt='Favorites' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyyLeffrs__JVg-xEE6TxEmVeU3RogZP6BFhC_GombO2htCi7hJq-SBh2AytgmNzHzswNWhelYCqcMfNbycWwM6NCaiIKiOCtygGWtGXQjZPOLI0QjSvzrErZCvYHaTirz43-1HLqBCx8/' width='32'/></a>
<a class='addthis_button_more'><img alt='More' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlNU7J621g0_rjlIAePXbYcdt4682RXO4-hCENKeif7JlLaWdh-_U4AdY5aLvcfKnEo2UxIrPVw9B-lIMr9pZuiasejcHIgBDRjVLE29gSqHUa8vwS2JRbqTb_ywVy5XQTrODwNAAGhsc/' width='32'/></a>
</div>
<script src='http://s7.addthis.com/js/250/addthis_widget.js' type='text/javascript'/>
</div></div>
7. Simpan

3 komentar:

 
Top