Kamis, Januari 30, 2014

In one of my previous tutorials, I have shared a simple Recent Comments widget having the ability to display the lastest comments published on the blog posts, however the main disadvantage of it was that it didn't have the option of showing the users' avatars, so for those who need something more, I would recommend adding this stylish Recent comments widget with round avatars and comment excerpts. Besides having the option of displaying the avatars of commenters, we can also change the default image for the anonymous avatar.

So let's begin adding it...



How to add recent comments widget with avatars


Step 1. Go to Blogger Dashboard, select your blog and go to Layout, then click the Add a Gadget link.

avatars, recent comments blogger, blogger widgets

Step 2. When the popup window appears, scroll down and choose HTML/Javascript


Step 3. Copy and paste the following code inside the empty box:
<style type="text/css">
ul.helploggercomments{list-style: none;margin: 0;padding: 0;}
.helploggercomments li {background: none !important;margin: 0 0 6px !important;padding: 0 0 6px 0 !important;display: block;clear: both;overflow: hidden;list-style: none;word-break:break-all;}
.helploggercomments li .avatarImage {padding: 3px;
background: #fefefe;-webkit-box-shadow: 0 1px 1px #ccc;-moz-box-shadow: 0 1px 1px #ccc;box-shadow: 0 1px 1px #ccc;float: left;margin: 0 6px 0 0;position: relative;overflow: hidden;}
.avatarRound {-webkit-border-radius: 100px;-moz-border-radius: 100px;border-radius: 100px;}
.helploggercomments li img {padding: 0px;position: relative;overflow: hidden;display: block;}
.helploggercomments li span {margin-top: 4px;color: #666;display: block;font-size: 12px;font-style: italic;line-height: 1.4;}
</style>
<script type="text/javascript">
//<![CDATA[
    // Recent Comments Settings
    var
 numComments  = 5,
 showAvatar  = true,
 avatarSize  = 60,
 roundAvatar = true,
 characters  = 40,
 showMorelink = false,
 moreLinktext = "More »",
 defaultAvatar  = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuO5T-k7rxn1I8ChH2uM4sD4NAOzUVKEmcSdLe9YYmjOlmf9YOKcUpQxzRxWoTZeqBA-C_LwcG92ZXAw2X9hk57U0-TCd39ai-k_N8su8XlTK0ohCuQheaIXwoSDopBsDeDmP2rEAMctgs/s1600/default-avatar.jpg",
 hideCredits = true;
//]]>
</script>
<script type="text/javascript" src="http://helplogger.googlecode.com/svn/trunk/helplogger/[helplogger.blogspot.com]recent-comments.js"></script>
<script type="text/javascript" src="http://ngeblogbarengbareng.blogspot.com/feeds/comments/default?alt=json&callback=helploggercomments&max-results=5"></script>
Note

- replace http://ngeblogbarengbareng.blogspot.com/ with the name of your blog.
- by default, there will be displayed a number 5 comments - replace the "5" values in red in order to show more comments
- to change the anonymous avatar, replace the following address with the url of your image:
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuO5T-k7rxn1I8ChH2uM4sD4NAOzUVKEmcSdLe9YYmjOlmf9YOKcUpQxzRxWoTZeqBA-C_LwcG92ZXAw2X9hk57U0-TCd39ai-k_N8su8XlTK0ohCuQheaIXwoSDopBsDeDmP2rEAMctgs/s1600/default-avatar.jpg
- to change the size of the avatar, replace 60 value in green.

Step 4. After you've made the changes, click Save... and we're done!

Once a reader finds a recent comments widget in your blog's sidebar, he comes to know that you blog is pretty active and that encourages him to post comments on your blog. In this way you can gather some active user base to comment on your blog posts.

Posted on Kamis, Januari 30, 2014 by linda marlina

No comments

http://gadissukasex.blogspot.com/
 
Sumber..!!!

Posted on Kamis, Januari 30, 2014 by linda marlina

No comments

Undefined Tanggal, ini adalah salah satu masalah yang paling populer di semua blogger template baru.
Untuk memperbaiki kesalahan waktu pada posting blogger Anda harus melakukan langkah-langkah berikut.Masuk ke account blogger Anda. Dan arahkan ke Pengaturan >> format>> dan Mengubah pengaturan ke pengaturan berikut sesuai gambar oke.


Selesai tekan simpan, dan Problem pun teratasi

Posted on Kamis, Januari 30, 2014 by linda marlina

No comments


NaRa - Assalamu'alaikum! Selamat malam/pagi/siang/sore sahabat blogger! Sekarang saya akan memberikan beberapa link atau URL gambar/icon yang bisa digunakan untuk mengganti tulisan 'Home' pada menu bar atau menu navigasi di blog. Berikut beberapa koleksi gambar/icon home beserta link atau URL-nya yang saya dapat dari Mbah Google:
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNRRNvZ8-V9hgWIXoYhCrL5LsEw5jIVhxYYrK_jNEJzhvpe1TJZkAhC8zFcBpi-mJRVcCFAaMt3p_dlGdObWhJuc4vsGI_mkPAf-Zws0gEE01rNoJbIRE7a0Ts7jbbSchTxri4JDluOQE/s1600/home-icon.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQB18TRLYb46-JPa6v7rSV5cue1uX39P81Jm7-1T2G8KuVB8u0gVPbuYR-Vqm6cVC0SM4NWdgmKL2buh4arb6s5rwvyf8YwbNJnsTsANSAeUSWVKxeFcXKpTKYmEwE6qQlotfJXe8d-HU/s1600/116975-matte-blue-and-white-square-icon-business-home5.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2UE4PI1wGyL171kTPFAIuBpEwApOwwiDa4H3wVcvfBKwwgM5pZOnVr28pD5MxEDD4qA6jLll6hGphhUkonWLZPEZu5dT7beTQeH6pDAqAU_U_1IY4qRbOKiz49ETJM_nJv0jlq-1-rQ8/s1600/home2.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5g26BWZA65HI5U9CMXJMxny781H8KSLZ3jRvzUq8ZQoYo4hwaXXOrrhPQ3WXQGyn4iRm1RO_sjYEjJqV0QxZJ8G5lExdasuM1IYntiDt10-Rmoue42lncRtO6LFVm_6kP15J5P4TSexs/s1600/home+%25281%2529.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9HhU5mis9wLQEVeUBfthW_RkQ1D2lbfWb3ySlv6YuVuUa_ejfc0IGuCTyS0ZG7CY4utqRAWhReCNjJo-cS-_R7sBv1x_Jrd4NQg7uec_UCeunjrKhTO4KidxmBdLZEXcsbm5GmkoYeCs/s1600/home+%25282%2529.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRr5W1IW-65WLQzouDCIVmJftpwyMlIskW0j-BUDWaDrIgreV6LLBJY2vXZfVY2Nn2O9TokCoS06bBcvsy8lY2LTN8hRJz21EsBlOe22FLtAX-qsIbTu5vdUeHkOV5-FUOsN7YM9yzGj8/s1600/Home+%25283%2529.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgplteMoBchM6fAxL0CC_AmlYqXhz0U-NMNOQ9kyRFI4wz5iF6n9Ekn-XKoxNsg5duFDIMsPNZaQODQm2N8C552JpIsheBqEjw-4gaNry9lEP7qyRZfmg4HPAjQxyCdOxsh4Za7l5wSn_U/s1600/home+%25284%2529.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKhL5BHLlJY_B1Jb9Jc7Rrp_zYV_FNNwNxzp-an0Bf-Uv0c1qV8nVQLLu3aEuB0eOFFznliCIzbfquqnadx7L21iEdZKUHDdO53t0uYLREiG3qChXCN_v66JPeRmAtOWb_1r16M_Ot-VI/s1600/home+%25285%2529.png

gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjvayqmnkRIHR-xCFEx0nS1GHSVq17_wh51ISwt2rOVXfLSyso7-R_EJExC7TgeP420M8eQJB6tv8aPyFx9EYOU0V4AgJNAi7MAUJ58Ggot416sURUVGmzHQmDbCA0IYp7WKSG3TeaN0E/s1600/home-icon+%25281%2529.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAz7iOagkHQkDJeRnJ45SJx7aaiyEsUM5QI4t015E5dC-iY3_Niy9BOkucJjeVwR1RODorvvTx7QCiL37YsLhfCqbEFnplC8VYMmiTpVkii1B-QHnrAEnrmpgtRGHgn9-XRam_6dmd9cM/s1600/home.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEfyARQhuuw4Q3p3Tw-5TpGB-z0Sz0_WUHSA3pnlKMxgvh5i3d09A9-9KtQ680hmoyVSZfBsR2nmUBVKsu-xpNNmxVQbuk5BSgVO-DPL_msVaorE-HClrelxk7Q3M7VKXBUpliahB1B8w/s1600/12465873991092959716home-icon.svg.med.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpehc5VRJiQHnebT-tDfzRxNTHCk7Fhs7vJDNCqXNj_hyphenhyphen_GlGJ7zmRMixxxwGK4tfdLhJrIDhYD_NJHeU1QTlGGsO1i4ShCjo9sn5mxfSYDtZ2zD4uWJgBG2IWPe84J6Z7GyzIMWPxiOU/s1600/abctribe_logo_casa.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhutrYRXpyqlcnYlAWQQqP1ulSo7PWzPN8gNe8PO9xZETc4bbkI6qNXzHZfcdYiqcKAZ98Phwiiuiwc5JA6ZrvB2_edd8fOATCxGKy07ozQLQVOXULgaQaS8ETpyGELekIjdlyyqtEH-Dc/s1600/Button_HOME.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3TLgHPAOJETs7_hA98xqMfvUSE2VXaRo4rf76AO-vPoNCXT39A2stf29Xmxa2Vm9CD4ph3oG5r4W8vsiYnTXQRJ42nOt8xnitRcffM1BiC_OO4DYSuv9HKCZeb1YdkI9OcCk04lioKDQ/s1600/gdgsfdgs.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpm9lzE4KFsHhZ-cDAXa9yg_teccW2Ctgw8gsEkxdSbc1bOxmeMO2BUyo76fUXmV7pQdSlDiGCN_hgzJ2oElZU705TrTZuHuFGsOWPslghLxjY03YyNV-hsyQqerNoLiFSZYKJ2SZo5MI/s1600/Gnome_access_home.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCVU0IEsFElIy9sFhVkFVKawZlW3X4uroGNNnLGkP_57HvwpPcei_ETZ6gjBe67yj8y5SUk6LlSz_hF8cZG3xIrZaOEu_IYEkkuNGYaVXgbBNrtwAne5_xNxoGRZgILIa6WvAcp3Djo5A/s1600/go-home-md.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJDbxC3ix9q6k6ljbqq3ajLLy5UYu06LpiI9IrsANNafutUym305hQhwE5wOHoIj1jmvvkMaeIzvl3NR7HtQhfQpjPzUSpG20-DnvMMIRkaJUSFvUDmdXrr4GBhh7uRk3Z7sg4oWF_zWM/s1600/home+(1).png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYX9RrQUI211ODhW2NaUwqO-MaTAdoUgQUTBTIPDSk7kTv97TQHdSd-p_089qcjQU0A_mW0ld-mdY1cwLIlyjcCVtbW64eGVM1lFmjCQ6gMN3d_DuREDMQ65NwABcD4bnWqndEJsRnCtk/s1600/home+(2).png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikJOs8VbWjpUSNb9tCtLbwDHieKUqE7XWeEiD3yGVwsqlL9LkcT4GYqZT55R6C1198_lCYqBwkRmYBWicfEnS8cpeM7uJHfLtmcjtaYjEtx5qczDj3XrGaAnNhSZz8hDF4UfdDGigC0Bw/s1600/Home+(3).png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZXTQCjDVTVYsj2CDf3IQmt6YhnP-7-BPxlMyHPPT_AAVKErbhNZo2G8HP4hLRBeRw_i_kP8BWDC40A7YH7b1UzhxluZhFNR4Vo_g5G6Q0G6OBB5f7_AQH4AaXOkpkVBaA7B26tvWf6Xs/s1600/home+(4).png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1TVRTVbyrHqbxqHtAp-Q6XR93-CQFpFsjAVAYpbEMBBGmkbmCU1d1_7Atgxxq-SCRYxf14ehTzyi00zYDbgAeivI0JcW0hyUhBr4_i0iMnaCFYuC95W6xPlx732MTvHgRMmvCC6Z-AIs/s1600/Home-Button.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGdK22ACKPX94FkgfJT6eeIu-gr5uGhrlfVgljBfle6hFvMYuYnx2gSWf-6uqM1SZ9aALPHBVTCimK6CnxP4embQKvR2Abj6DPkoKgBqaWe5DszQXh48IZ30-j9Ms9lQ05yT6dUqkHfXU/s1600/home-button_128x128.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjU6ksTHfEiW18rJ1_jJxf-fl_hlftwIIquVgbN4gyzHtwpwXzoNOaqn-jW_bLTl61NxYRZQoZoGNwPmPzLlHdjkaxvsek6N-RPqL_JBIo1kWjH7ftxL0m0jw1dr5U6si71ZXvbZPXjtQM/s1600/Home.gif
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoT3AOlF7TbBL_QhpUIcQI_6y4KXQqzBUEsYeuc4k8dMwFeWtTDkNRY9-MuPFM2CtYwLsCiwiqAx4VAU3kWiilxqxLngV3Rj3d7BQSAeocspVM6GUox0E19qrINsfp-McXFnhA4_itWFM/s1600/home.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6Iz-aN10P6ErdOtZ77-PD4jdPfVTscM7c2Jpli840A4u962MK3opFHglE7GoVjG5mK3cmwiLk5KNLwIrWdI_Plb54Nxdgu5pxK9am-keVF7QsNzF-mbdY_VnOCgU55YuXbualW65BehE/s1600/home_button.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg98BDv_acuhGzCwvxQ7at-zRqjZL6nP3uSuD3mOIKpKLBYw3i9bt10wgcsEuam4q4Jri2z5QLsPxzVV0WH09l5N90J9xc17GuhATrqrY3tWtx-DtchcCH-uyO0-JWeZpXTmA3J4ie61Kw/s1600/Home_icon_black.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitrVgydLANlg6l1WR2OkcoXYtSYqWgygOqi7n5gf82_CmFu7TO3k2zUi1szShhDSPVrDSdHjrcGcyhq5YN1hyphenhyphenRTf2KGUEzgRt6d-MEFCG1n5hM45O0kLUsPX5F48N2cqlCLtceNzgGeXk/s1600/Home_News1.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLzZKPNFFwd6eOdVRnIdsS6IihEs6bZtPBPFJ_bSu4EbN8d1yMTmLCPOW-kmPg5Gaa5QQbqkbe4Jgup5BFDydHbeoHi-J7Yic818TK4VdoTuuN6NUgEg-MDQy77iwEzWg70DPmm6R8YLU/s1600/home_page.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5cIm8g0_sUresVOOLSxJlZfyn_1b7gefAhMPIWSKlCFhBWA4W26vCu-hlhvvVXTy3YKkXxbWYezLwiKwu9J_-ssoscqY5xufAxX6nWY67PkenZclhMHeDYWpHyIZja7lxgx3DAZouy-s/s1600/HomeButton.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrBHWJu02j3f6Xu1SOqEakOxI_OOD1Xjp2_sTfI68s5zuWZ_z0taLP3lwe5lxcAuMVK0abfFvpzxlMvZ80svVxK_XFNpBP29ScuH4tPC25eZfYwAY8CbnQwZoZ6AfBeT1FZG3pnfWC5yg/s1600/house.png
gambar home
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnjKMeUqKMNoLx6BObbBVeCDy8oCwTHvWTNTXY9dKhzrLYLVCE8OHlhuwQD-ycVNcn4cZDDKTYOKvHi6S8zVmmOpD0OVvwe7pd9LrfVBKuD6vhwUVateQCrngyECiUlGofBXcoszojr1I/s1600/personal.png
Semoga bermanfaat untuk sahabat blogger yang sudah mampir di postingan saya ini.

Posted on Kamis, Januari 30, 2014 by linda marlina

No comments

Cara Membuat Related Post Dengan GambarBerikut ini contoh dari Related Post Dengan Gambar/ artikel yang berhubungan dengan image






Bagi yang ingin tahu Cara Membuat Related Post Dengan Gambar ini, yuk kita ikuti langkah berikut ini :

Langkah Cara Membuat Related Post Dengan Gambar

Pergilah ke Dashboard blog kamu, lalu pilih Design, kemudian pilih tab Edit HTML.

Jangan lupa beri tanda contreng pada tulisan Expand Widget Templates.

Selanjutnya cari kode berikut:

</head>

Jika sudah ketemu, letakkan kode script berikut tepat di atas kode </head>



<!--Related Posts with thumbnails Scripts and Styles Start--> <!-- remove --><b:if cond='data:blog.pageType == &quot;item&quot;'> <style type='text/css'> #related-posts {background:#e6e6e6;text-transform:none;height:100%;min-height:100%;padding-top:5px;padding-left:5px;} #related-posts h2{font-size: 1.6em;font-weight: bold;color: black;font-family: Georgia, &#8220;Times New Roman&#8221;, Times, serif;margin-bottom: 0.75em;margin-top: 0em;padding-top: 0em;} #related-posts a{background-color:#F4F4EC;border:1px solid #666;color:black;-webkit-box-shadow: inset 0 0 3px #222;-moz-box-shadow: inset 0 0 3px #222;box-shadow: inset 0 0 3px #222;-webkit-border-radius:10px;-moz-border-radius:10px;margin-top:0px;text-align:center;height:180px;} #related-posts a:hover{color:black;background-color:#d4eaf2;-moz-transform: scale(1.3) rotate(-30deg) ;-webkit-transform: scale(1.3) rotate(-30deg) ;-o-transform: scale(1.3) rotate(-30deg) ;-ms-transform: scale(1.2) rotate(-30deg) ;transform: scale(1.3) rotate(-30deg);} #related-posts img:hover {background-color:#d4eaf2;} #related-posts img {display:block;float:center;margin:5px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;border:5px solid #666;-webkit-box-shadow: 1px 2px 1px #ccc;-moz-box-shadow: 1px 2px 1px #ccc;box-shadow: 1px 2px 1px #ccc;} </style> <script type='text/javascript'> var defaultnoimage=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7YP1XeAQvZskHTY8ogPhnCXs7RAAfNBI6J-cAUARLsiHNYrQhezy4xzznbHIwvUF3I4iqO_Kz7k0cgWnhGi3uQVR5feQxzh0dtlzAkXY5W8DBikQi6ZQXTDh4o0qA9oOBMw3DyOOuZ0Q/s400/noimage.png&quot;; var maxresults=5; var splittercolor=&quot;#d4eaf2&quot;; var relatedpoststitle=&quot;Related Posts&quot;; </script> <script src='http://bloggergadgets.googlecode.com/files/related_posts_with_thumbnails_min.js' type='text/javascript'/> <!-- remove --></b:if> <!--Related Posts with thumbnails Scripts and Styles End-->


Setelah itu cari kode script

    <div class='post-footer-line post-footer-line-1'>

atau

    <p class='post-footer-line post-footer-line-1'>

Kalau sudah ketemu lalu letakan kode script dibawah ini sesudah kode tadi


<!-- Related Posts with Thumbnails Code Start--> <!-- remove --><b:if cond='data:blog.pageType == &quot;item&quot;'> <div id='related-posts'> <b:loop values='data:post.labels' var='label'> <b:if cond='data:label.isLast != &quot;true&quot;'> </b:if> <script expr:src='&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels_thumbs&amp;max-results=6&quot;' type='text/javascript'/></b:loop> <script type='text/javascript'> removeRelatedDuplicates_thumbs(); printRelatedLabels_thumbs(&quot;<data:post.url/>&quot;); </script> </div><div style='clear:both'/> <!-- remove --></b:if>&lt;div style=&#39;font-size:10px;margin:8px 0px 3px 0px&#39;&gt;      by : &lt;a href=http://www.tutorial-4u.com/&gt;Tutorial For You&lt;/a&gt;&lt;br /&gt;       &lt;a href=&quot;http://www.tutorial-4u.com/2012/07/cara-membuat-related-post-dengan-gambar.html&quot; target=&quot;blank&quot;&gt;&lt;font color=&quot;blue&quot;&gt;[Get This Widget]&lt;font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/a&gt;&lt;/div&gt; <!-- Related Posts with Thumbnails Code End-->

Setelah selesai, simpan template dan lihat hasilnya.

Posted on Kamis, Januari 30, 2014 by linda marlina

4 comments

Rabu, Januari 29, 2014

related posts design
Salah satu hal yang diperlukan pengunjung saat membaca suatu artikel di blog kita adalah navigasi / kemudahan menemukan artikel terkait lainnya. Oleh karena itu, dibutuhkan sebuah gadget atau widget yang bernama Related Posts. Bagaimana cara membuatnya, mari ikuti panduan kali ini !
Postingan sebelumnya, memang membahas hal serupa yaitu Cara Membuat Related Posts dengan Gambar Thumbnail. Perbedaannya adalah pada artikel tersebut fungsi artikel terkait dijadikan dengan gambar artikel sedangkan postingan ini hasilnya akan menampilkan beberapa judul artikel yang memang mempunyai hubungan keterkaitan berdasarkan label.

Artikel terkait pada umumnya diletakkan pada bagian bawah posting suatu artikel. Hal ini akan mempermudah pengunjung yang ingin membaca artikel selanjutnya lengkap sesuai dengan kategori label yang sama. Artikel yang muncul sesuai dengan postingan terbaru dari masing-masing label itu. Contohnya dibawah ini :
related posts
Artikel terkait tersebut, terbentuk dari susunan label Gadget and Widget. Cara membuatnya, mari simak panduan berikut :
1. Login ke Blogger untuk membuka blog anda.
2. Buka Menu 'Template'
3. Lalu klik 'Edit Html' (Anda bisa menekan tombol CTRL+Z untuk kembali, meskipun template telah disave. Dan Sebelum mulai, harap backup template yang digunakan agar dapat di restore kembali jika ada masalah dalam pemasangan).
4. Cari kode berikut : </head> (Pakai Ctrl+F untuk mempermudah)
5. Copy Paste kode di bawah ini tepat di atas </head>

    <script type="text/javascript">
    //<![CDATA[
    var relatedTitles = new Array();
    var relatedTitlesNum = 0;
    var relatedUrls = new Array();
    function related_results_labels(json) {
    for (var i = 0; i < json.feed.entry.length; i++) {
    var entry = json.feed.entry[i];
    relatedTitles[relatedTitlesNum] = entry.title.$t;
    for (var k = 0; k < entry.link.length; k++) {
    if (entry.link[k].rel == 'alternate') {
    relatedUrls[relatedTitlesNum] = entry.link[k].href;
    relatedTitlesNum++;
    break;}}}}
    function removeRelatedDuplicates() {
    var tmp = new Array(0);
    var tmp2 = new Array(0);
    for(var i = 0; i < relatedUrls.length; i++) {
    if(!contains(tmp, relatedUrls[i])) {
    tmp.length += 1;
    tmp[tmp.length - 1] = relatedUrls[i];
    tmp2.length += 1;
    tmp2[tmp2.length - 1] = relatedTitles[i];}}
    relatedTitles = tmp2;
    relatedUrls = tmp;}
    function contains(a, e) {
    for(var j = 0; j < a.length; j++) if (a[j]==e) return true;
    return false;}
    function printRelatedLabels() {
    var r = Math.floor((relatedTitles.length - 1) * Math.random());
    var i = 0;
    document.write('<ul>');
    while (i < relatedTitles.length && i < 20) {
    document.write('<li><a href="' + relatedUrls[r] + '">' +
    relatedTitles[r] + '</a></li>');
    if (r < relatedTitles.length - 1) {
    r++;
    } else {
    r = 0;}
    i++;}
    document.write('</ul>');}
    //]]>
    </script>

6. Cari kode berikut : <data:post.body/> (Pakai Ctrl+F untuk mempermudah)
7. Copy Paste kode dibawah ini kemudian letakkan di bawah <data:post.body/>
Catatan : Biasanya terdapat 2 buah <data:post.body/> Pakai kode yang kedua lalu paste di bawahnya ya.

    <b:if cond='data:post.labels'>
    <b:loop values='data:post.labels' var='label'>
    <b:if cond='data:blog.pageType == "item"'>
    <script expr:src='"/feeds/posts/default/-/" + data:label.name + "?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=5"' type='text/javascript'/>
    </b:if>
    </b:loop>
    </b:if>
    <b:if cond='data:blog.pageType == "item"'>
    <h4>Artikel Terkait</h4>
    <script type="text/javascript">
    removeRelatedDuplicates();
    printRelatedLabels();
    </script>
    </b:if>

8. Klik Save.

Cara kerja Related Posting ini cukup mudah singkat, merujuk pada label yang diterapkan pada postingan. Artikel yang memiliki label yang sama akan tercantum secara otomatis pada Artikel yang sedang dibuka.

Keterangan :
Jika artikel terkait muncul juga di halaman utama (homepage) blog anda, tambahkan kode ini diatasnya ( Langkah 7) :
<b:if cond='data:blog.pageType == "item"'>
dan berikan kode </b:if> pada paling akhir.

Angka berwarna merah menunjukkan jumlah artikel yang akan ditampilkan.

Posted on Rabu, Januari 29, 2014 by linda marlina

No comments