Uncategorized
Jan12

>Widget displays the page on Certain

0 comment

>

Here is another tag that can be used:

To display the widget on the homepage / front page alone.

<b:if cond=’data:blog.pageType == “index”‘>

To display the widget on archive pages only.

<b:if cond=’data:blog.pageType == “archive”‘>

To display the widget on article pages only.

<b:if cond=’data:blog.pageType == “item”‘>

widget display only on certain pages. Change [insert URL] with a page on your blog yg yg widget you want appears.

<b:if cond='”[insert URL]” == data:blog.url’>

In addition to the above tag, we can also display the opposite.

Way, change the sign = (equals) came first with a mark ! (fun)

For example, I want to display the widget on the page than the homepage, then the reply code is used:

<b:if cond=’data:blog.pageType != “index”‘>
Rate this article!

Author: 

author