Secret Manner

This Blog Provides Information About Blog, Blog Tips, Ways And Others

Adjusting Homepage Sidebar Widget & Single Post

Mengatur Tampilan Sidebar Widget
WE can set the display only appears in the Sidebar Widget Homepage (front page) or just turn up on the Single Post only. By default, when we add the widget, it will appear at HOME and in Pages In (Single Post).

How to make widgets appear only in front of or in the course of pages in it? Here comes the trick & tricks and HTML code:

HOW TO ADJUST THE POSITION SIDEBAR WIDGET

1. The code for the widget that only appear on the homepage (front page):

Add code
<b: if cond = 'data: the blog.url == Data: blog.homepageUrl'>

after <b: includable id = 'main'>

and add the code
</ b: if> before closing code widget

before </ b: includable>

2. For widgets that only appear on the page / post pages only:

Add code
<b: if cond = 'data: the blog.pageType == "item"'>

after <b: includable id = 'main'>
and code

</ b: if> before closing the widget code (</ b: includable>)
Bagikan :
+
Previous
Next Post »
0 Komentar untuk "Adjusting Homepage Sidebar Widget & Single Post"

 
Template By Kunci Dunia
Back To Top