Pengikut

Salam blogger, di pagi yang cerah ini saya akan berbagi ilmu untuk para blogger di seluruh dunia. Trik blogger yang satu ini adalah trik untuk membuat suatu widget yang hanya dapat tampil di halaman awal atau homepage saja. Agar homepage pada blog atau website blog tampil lebih dinamis dan terkesan profesional, sebaiknya beberapa widget yang dianggap pokok dan utama hanya ditampilkan di halaman utama atau Home page, sehingga para pengunjung tidak jenuh berjelajah di blog sobat.

Berikut langkah-langkah Membuat Widget Hanya Tampil di homepage :
1. Login ke Blogger dengan ID anda
2. klik menu Template
3. kemudian pilih Edit Html
4. pilih lanjutkan untuk masuk ke Setup Html
5. setelah masuk jangan lupa centang kotak kecil di pojok kiri yang 
    bertuliskan "expand template widget"
6. kemudian ikuti langkah-langkah dibawah ini

Gunakan Ctrl+F pada keyboard komputer Sobat untuk mencari kode widget Sobat Contoh: 'Artikel Terbaru'.
Setelah ketemu, berikut cara memodifikasiny :Membuat Widget Hanya Tampil di HomePage >>>
Sisipkan kode : <b:if cond='data:blog.url == data:blog.homepageUrl'> dibawah kode <b:includable id='main'>
Sisipkan kode : </b:if> diatas kode </b:includable> 
  • Contoh lengkapnya seperti ini :
<b:widget id='HTML10' locked='false' title='Artikel Terbaru' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != &quot;&quot;'>
<h2 class='title'><data:title/></h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div>
</b:if>
</b:includable>
</b:widget>Membuat Widget Hanya Tampil di Posting >>>

Sisipkan kode : <b:if cond='data:blog.pageType == "item"'> dibawah kode <b:includable id='main'>
Sisipkan kode: </b:if> diatas kode </b:includable> 
  • Contoh lengkapnya seperti ini :
<b:widget id='HTML10' locked='false' title='Artikel Terbaru' type='HTML'>
<b:includable id='main'><b:if cond='data:blog.pageType == "item"'><!-- only display title if it's non-empty -->
<b:if cond='data:title != &quot;&quot;'>
<h2 class='title'><data:title/></h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div>
</b:if>
</b:includable>
</b:widget>
7. Simpan Template

Selamat mencoba dan semoga bermanfaat

Posting Komentar

  1. Today, I went to the beach with my kids. I found a sea shell and gave it to my 4 year old daughter
    and said "You can hear the ocean if you put this to your ear." She put the shell to her ear and screamed.

    There was a hermit crab inside and it pinched her ear.
    She never wants to go back! LoL I know this is completely off topic but I had
    to tell someone!
    My site :: buy edu backlinks

    BalasHapus
    Balasan
    1. thank's for your comment brother!!

      Hapus
    2. Thanks artikel cara membuat widget hanya tampil di homepage,...

      Hapus
  2. nice tutoriAL SOB..
    mampir ya ke blog cupu ane http://4biyaksa.blogspot.com

    BalasHapus
    Balasan
    1. makasih brader, yoi gan ntar ane mampir ke blog agan, salam blogger

      Hapus
  3. Thank you for the auspicious writeup. It in fact was a amusement account it.
    Look advanced to far added agreeable from you! By the way, how can we communicate?


    Feel free to visit my webpage; www.bumperstickerquotes.org

    BalasHapus
  4. Hello very nice website!! Man .. Beautiful .. Amazing .. I'll bookmark your site and take the feeds also? I am glad to find so many useful information here in the put up, we want work out more strategies in this regard, thanks for sharing. . . . . .

    Also visit my homepage: www.freeipad2review.com

    BalasHapus
  5. Wow, wonderful blog structure! How lengthy have
    you ever been running a blog for? you make blogging look easy.
    The overall glance of your site is wonderful, let alone the content material!


    my homepage: www.qualitywebhostings.com

    BalasHapus
  6. Hey! Someone in my Facebook group shared this site with us so I came to give it a
    look. I'm definitely enjoying the information. I'm bookmarking and will be tweeting this to my followers!

    Excellent blog and fantastic style and design.


    Feel free to surf to my blog ... penis advantage review

    BalasHapus
  7. Hi just wanted to give you a quick heads up and let you know a few of the pictures aren't loading correctly. I'm not sure why but I
    think its a linking issue. I've tried it in two different web browsers and both show the same results.

    Visit my webpage :: dub turbo review

    BalasHapus
  8. Wonderful goods from you, man. I have understand your stuff previous to and you
    are just too magnificent. I really like what you've acquired here, certainly like what you are stating and the way in which you say it. You make it entertaining and you still take care of to keep it wise. I can not wait to read much more from you. This is really a wonderful website.

    Look at my page; magic of making up scam

    BalasHapus
  9. Makasih ude di share.
    Mohon izin ntuk mempraktekannya di Blog ane

    BalasHapus
  10. expan temlate widget kok enggak ketemu ya mas,

    BalasHapus
    Balasan
    1. template yang sekarang mamang gak ada gan... search di kotak html nya aja

      Hapus
  11. terima kasih banyak mas infonya.
    ditunggu kunjungan baliknya.

    BalasHapus

Silahkan berkomentar, komentar sobat adalah inspirasi saya !!