Menampilkan Widget di Halaman Tertentu
Space Iklan Disini, silahkan Hubungi kami !
Widget yang ada pada blog Anda memiliki kode-kode atau scrip sendiri-sendiri. Dari kode-kode tersebutlah widget ditampilkan.
Dengan kode-kode tersebut pula Anda dapat mengatur tampilan hanya pada halaman tertentu. Berikut pembahasan mengenai kode-kode yang memiliki fungsi untuk mengatur, menampilkan, dan menyembunyikan widget pada halaman tertentu di Blogspot.
Dengan kode-kode tersebut pula Anda dapat mengatur tampilan hanya pada halaman tertentu. Berikut pembahasan mengenai kode-kode yang memiliki fungsi untuk mengatur, menampilkan, dan menyembunyikan widget pada halaman tertentu di Blogspot.
Cara menampilkan widget atau gadget pada halaman tertentu di blogspot hanya menggunakan beberapa jenis kode tertentu berdasarkan fungsinya, yaitu :
Menampilkan widget hanya di homepage atau halaman utama
<b:if cond='data:blog.url == data:blog.homepageUrl'>
Letak Widget Blog
</b:if>
Letak Widget Blog
</b:if>
Menampilkan widget selain di homepage atau halaman utama
<b:if cond='data:blog.url != data:blog.homepageUrl'>
Letak Widget Blog
</b:if>
Letak Widget Blog
</b:if>
Menampilkan widget hanya di archive page atau halaman arsip
<b:if cond='data:blog.pageType == "archive"'>
Letak Widget Blog
</b:if>
Letak Widget Blog
</b:if>
Menampilkan widget selain di archive page atau halaman arsip
<b:if cond='data:blog.pageType != "archive"'>
Letak Widget Blog
</b:if>
Letak Widget Blog
</b:if>
Menampilkan widget hanya di itempage atau halaman posting
<b:if cond='data:blog.pageType == "item"'>
Letak Widget Blog
</b:if>
Letak Widget Blog
</b:if>
Menampilkan widget selain di itempage atau halaman posting
<b:if cond='data:blog.pageType != "item"'>
Letak Widget Blog
</b:if>
Letak Widget Blog
</b:if>
Menampilkan widget hanya di staticpage atau halaman page
<b:if cond='data:blog.pageType == "static_page"'>
Letak Widget Blog
</b:if>
Letak Widget Blog
</b:if>
Menampilkan widget selain di staticpage atau halaman page
<b:if cond='data:blog.pageType != "static_page"'>
Letak Widget Blog
</b:if>
Letak Widget Blog
</b:if>
Menampilkan widget hanya di halaman posting tertentu
<b:if cond='data:blog.url == "alamatpostingan"'>
Letak Widget Blog
</b:if>
Letak Widget Blog
</b:if>
Menampilkan widget selain di halaman posting tertentu
<b:if cond='data:blog.url != "alamaatpostingan"'>
Letak Widget Blog
</b:if>
Letak Widget Blog
</b:if>
Contoh penggunaan kode-kode di atas guna menampilkan widget pada halaman tertentu di Blogspot yang tertulis di atas adalah sebagai berikut :
<b:widget id='HTML1' locked='false' title='' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<b:if cond='data:title != ""'>
<h2 class='title'>Category Kutuspot</h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div>
<b:include name='quickedit'/>
</b:if>
</b:includable>
</b:widget>
<b:includable id='main'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<b:if cond='data:title != ""'>
<h2 class='title'>Category Kutuspot</h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div>
<b:include name='quickedit'/>
</b:if>
</b:includable>
</b:widget>
12 comments:
top abiz tipsna
sama-sama ..makasih dah berkunjung
Ilmu yang bermanfaat sekali bagi saya sobat...
memang widget ini sangat penting...
saya minta ijin utk copas ya sob....buat persiapan siapa tahu nanti diperlukan di blogku...
terima kasih banyak kawan...
Mantab ne... Thanks Tutornya Sob... :D
Ditunggu lagi yang lain... thanks,,, :)
Hadir selalu di sini dengan bawa oleh2 MP3 Inspiratif Bag. XVI, ditunggu lawatan baliknya, Thanks, Salam bLogger :)
Fantastic beat ! I would like to apprentice while
you amend your website, how can i subscribe for a blog site?
The account helped me a acceptable deal. I had been tiny bit acquainted
of this your broadcast offered bright clear
idea
Also visit my blog ; free iphone
Wow, marvelous blog format! How long have you ever been blogging for?
you made blogging glance easy. The total glance of your website
is great, let alone the content material!
Also visit my homepage clean my pc
obviously like your web-site but you have to test the spelling
on quite a few of your posts. Several of them are rife with spelling issues and I find it very bothersome to inform the reality however I'll surely come back again.
Also visit my homepage ... golden virginia tobacco
Hi! Do you use Twitter? I'd like to follow you if that would be ok. I'm definitely enjoying your blog and look forward to new updates.
Also see my webpage: samson tobacco
If you would like to increase your knowledge just keep visiting this web page
and be updated with the latest information posted here.
Check out my blog post - erinmore pipe tobacco
Heya this is somewhat of off topic but I was wanting to know if blogs use
WYSIWYG editors or if you have to manually code with HTML.
I'm starting a blog soon but have no coding expertise so I wanted to get advice from someone with experience. Any help would be greatly appreciated!
Feel free to visit my page : diablo 3 gold farming
It's very simple to find out any matter on web as compared to books, as I found this piece of writing at this web page.
Take a look at my homepage ... Rid Acne Pimples
It's very simple to find out any matter on web as compared to books, as I found this piece of writing at this web page.
my webpage - Rid Acne Pimples
Post a Comment