This time we will discuss how to display the widget on certain pages such as the main page and sub-subnya. You can see on the web blog Bloggernias footer that displays on the main page only. As an example simpelnya.
Funsinya that in addition to saving space your blog page as well as to speed up loading the blog besides your blog page more neat and professional look to management to see anda.Cara blog is quite easy just to add some code, by adding the code then we can display widgets we want only to appear on the page that we want it. small example of this code is the code implementation meta title tag seo friendly.Good without many strings attached see and practice the code below:
1. View the widget only on front page (homepage)
<b: if cond = 'data: Data == blog.url: blog.homepageUrl'>
.................................................. ....
</ b: if>
2. Displays on all pages except the homepage.
<b: if cond = 'data: blog.url! = Data: blog.homepageUrl'>
.................................................. ....
</ b: if>
3. View the widget only on Archive page only.
<b: if cond = 'data: blog.pageType == & quot; archive & quot;'>
.................................................. ....
</ b: if>
4. View the widget on all pages except the archive page.
<b: if cond = 'data: blog.pageType! = & quot; archive & quot;'>
.................................................. ....
</ b: if>
5. View the widget only on the post pages.
<b: if cond = 'data: blog.pageType == & quot; item & quot;'>
.................................................. ....
</ b: if>
6. View the widget on all pages except the posting page.
<b: if cond = 'data: blog.pageType! = & quot; item & quot;'>
.................................................. ....
</ b: if>
7. View the widget only on certain posts.
<b: if cond = 'data: blog.pageType == & quot; address-posts & quot;'>
.................................................. ....
</ b: if>
8. View the widget in addition to certain posts.
<b: if cond = 'data: blog.pageType! = & quot; address-posts & quot;'>
.................................................. ....
</ b: if>
9. View the widget only on page staticpages.
<b: if cond = 'data: blog.pageType == & quot; static_page & quot;'>
.................................................. ....
</ b: if>
10. View the widget on all pages, except pages staticpages.
<b: if cond = 'data: blog.pageType! = & quot; static_page & quot;'>
.................................................. ....
</ b: if>
11. The code displays the widgets only on specific url
<b: if cond = 'data: blog.url == "page URL here"'>
.................................................. ....
</ b: if>
Note: Signs point - the point above is the widget code that must be in place
Examples of applicability can do on an existing widget on a blog, for example we just want to show the widget "Popular Posts" only appear on any item, then here's how:
Popular posts widget code example below:
<b: widget id = 'HTML4' locked = 'false' title = 'Popular posts' type =' HTML '> <b: includable id =' main '> <b: if cond =' data: blog.pageType == & quot; item & quot; '> <! - 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>
Red code that is written, and consequently widget is only appearing on any item. How to display widget so only on a particular page on blogspot good luck.
http://bloggernias.blogspot.co.id/


ConversionConversion EmoticonEmoticon