How to Show or Hide widgets in Any Pages In Blogger


Lihat dan hitung, seberapa banyak aplikasi Android yang Anda instal di smartphone Anda? 

Pernahkah terbersit di benak Anda bagaimana cara membuat aplikasi-aplikasi tersebut?

Apakah Anda Saat Ini Ingin Sekali Bisa Bikin Aplikasi Android Sendiri? Seperti aplikasi game edukasi, media pembelajaran, aplikasi berbasis sensor, aplikasi multimedia, dan lain sebagainya?

Tetapi

1. Tidak Ngerti Coding
2. Tidak Tahu Computer Programming
3. Tidak Paham Bahasa Pemrograman Android
4. Dan Sama Sekali Bukan Lulusan IT?

Jangan Khawatir ...
Ternyata, bikin aplikasi Android itu SANGAT MUDAH, bahkan bagi Pemula sekalipun.

Sekarang Anda bisa bikin aplikasi Android dengan Cepat, bahkan TANPA HARUS CODING.

Tak peduli apapun latar belakang Anda, bikin aplikasi Android itu MUDAH, semudah bermain Puzzle.

Anda Hanya Perlu 4 Langkah berikut ini :

1. Drag & drop komponen-komponen yang dibutuhkan
2. Percantik tampilan aplikasi dengan mengatur layout dan desain tampilan
3. Susun blok-blok kode programnya, dan
4. Build aplikasi Anda jadi file instalasi *.APK

Lantas, Bagimana Cara Memulainya?
Mudah kok, karena sudah hadir untuk Anda Di Sini :


Video tutorial yang membahas cara membuat aplikasi Android dengan sangat MUDAH, CEPAT, & TANPA CODING menggunakan tools App Inventor 2. 

             When you're surfing the Internet,You may be seen that there are many differences among the pages in blogger blog sites.As a example,There is Recent Posts widget in post pages.But you can't see the Recent Post Widget in other pages like Home page,Archive Page,Static Pages.All the widgets/gadgets you add to your blog, will be displayed on all the pages by default, including the homepage as well.Some bloggers can't get their blog approved for Google AdSense advertising program in one case.Google penalise some blogs because,They have put ad units inside the content of their contact or privacy policy pages.So having knowledge to set up your side bar widget is very important.Also you can set up your blog's content positions.It is helpful when you control your blog's loading speed.i.e: you can hide top commentors widget from homepage except post pages.

Some words about this trick...

Have you heard about conditional tags? In this trick,Conditional Tags are used for Showing and Hiding the Widgets from your blog.


Step 1: Sign in to your blogger account first.
Step 2Now go to Template--> Edit HTML.
Step 3: Now click on "Jump to widget" button and select on widget Id that you want to show or hide.Also you can find your widget from searching its title.code will look like below
<b:widget id='HTML1' locked='false' title='Your_Gadget's_Name' type='HTML'>
<b:includable id='main'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<h2 class='title'><data:title/></h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div>
<b:include name='quickedit'/>
</b:includable>
</b:widget>  

In your blog widget id "HTML1" or other might be different.Because each widget IDs are unique for each gadget.These all codes between <b:widget id='HTML1' locked='false' title='Your_Gadget's_Name' type='HTML'> and </b:widget>  are important codes.Don't change anything within above code.

Step 4After you found widget codes, add the one of below following conditional tags marked with blue just below and above to hide or show the widget from specific pages or posts in Blogger. For instance, in case you want:

To show Widgets only In Home Page



<b:widget id='HTML1' locked='false' title='Your_Gadget's_Name' 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 != ""'>
<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>

To Hide Widgets only In Home Page


<b:widget id='HTML1' locked='false' title='Your_Gadget's_Name' 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 != ""'>
<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>

To show Widgets only In Post Pages



<b:widget id='HTML1' locked='false' title='Your_Gadget's_Name' 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 != ""'>
<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>

 To Hide  Widgets only In Post Pages


<b:widget id='HTML1' locked='false' title='Your_Gadget's_Name' 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 != ""'>
<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>

To show Widgets only In Static Pages


<b:widget id='HTML1' locked='false' title='Your_Gadget's_Name' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.pageType == "static_page"'><!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<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> 

To Hide Widgets only In Static Pages

<b:widget id='HTML1' locked='false' title='Your_Gadget's_Name' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.pageType != "static_page"'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<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> 

To Show Widgets only In Archive Pages


<b:widget id='HTML1' locked='false' title='Your_Gadget's_Name' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.pageType == "archive"'><!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<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> 

To Hide Widgets only In Archive Pages


<b:widget id='HTML1' locked='false' title='Your_Gadget's_Name' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.pageType != "archive"'><!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<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> 

To Show Widgets only In specific page


<b:widget id='HTML1' locked='false' title='Your_Gadget's_Name' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.url == "URL of the page"'><!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<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> 
Note:- Replace URL of the page  to the Blog page address which you want the widget to appear.

To Hide Widgets only In specific page

<b:widget id='HTML1' locked='false' title='Your_Gadget's_Name' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.url != "URL of the page"'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<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> 

Step 4: Now Save your Template.

..................................................................................................................................
Need Help?
..................................................................................................................................
Yes..This trick is valuable part that every blogger should know.You might have some problems and other questions related to hiding or showing widgets on your blogger blog.Just leave a comment in below.I will try to help your all questions as i can.Also if you know any more tricks hiding or showing gadgets in blogger,share your thoughts with us.I will include them in to this post with good grace.


Pengelola Blog : ABDUL WAHAB

Judul : How to Show or Hide widgets in Any Pages In Blogger
Ditulis oleh : Kejutan Internet pada hari
Rating Blog : 5 dari 5
Terima kasih Anda telah membaca artikel tentang How to Show or Hide widgets in Any Pages In Blogger
Anda boleh menyebar luaskannya atau mengcopy paste-nya jika artikel ini sangat bermanfaat bagi Blog dan teman-teman anda.
Namun jangan lupa harap memberikan link aktif dofollow yang mengarah ke URL ini ya
https://kejutaninternet.blogspot.com/2013/03/how-to-show-or-hide-widgets-in-any.html

Dan Terima kasih sekali lagi atas kunjungan Anda.

Kritik dan saran atau apapun bisa anda sampaikan melalui kotak komentar.
Dan mohon maaf jika komentar atau pertanyaan tidak bisa cepat saya respon,
karena Saya tidak bisa selalu online selama 24 Jam.


Mau Di Buatkan Blog Siap Pakai Seperti Ini ?.

Artikel Terkait

Previous
Next Post »