Berbagi Informasi tidak akan mengurangi ilmu yang kita miliki

This is default featured post 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured post 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured post 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured post 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured post 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Senin, 30 Juli 2012

Cara Menampilkan Widget Hanya Pada Halaman Posting atau Homepage saja

LANGSUNG SAJA KE TKP ====>

1. Jika Sobat ingin menampilkan Widget hanya di Halaman Utama atau Homepage saja.

<b:if cond='data:blog.url == data:blog.homepageUrl'>content widget
</b:if>
2.Jika Sobat ingin menampilkan Widget hanya di Halaman Posting Blog saja.
<b:if cond='data:blog.pageType == &quot;item&quot;'>content widget
</b:if>

Jadi  intinya anda hanya cukup menambahkan kode yang berwarna merah saja
Caranya Pilih Rancangan Lalu pilih EDIT HTML lalu cari Judul Widget Yang ingin kamu letakan di Homepage atau di Posting saja.

CONTOH.
Disini saya akan meletakan Widget Popular Posts saya pada Homepage saja.
Jadi Cari Popular Posts (sebagai judul widget) setelah ketemu biasanya kode nya seperti ini.
<b:widget id='HTML14' locked='false' title='Popular Posts' type='HTML'>
<b:includable id='main'>
<!-- 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:include name='quickedit'/>
</b:includable>
</b:widget>
Jika anda mau menampilkan pada Homepage saja, maka sisipkan Kode nomer 1 diatas tadi, sehingga kode nya di seperti ini.
<b:widget id='HTML14' locked='false' title='Menu Blazer' 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:include name='quickedit'/>
</b:if></b:includable>
</b:widget>
Hanya itu saja.... SELAMAT MENCOBA....!!!!!
Print This Page Print This Page

Twitter Delicious Facebook Digg Stumbleupon Favorites More