Secret Manner

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

How to display the Widget Specified In Specific Page

When we were heading one's blog, the blog looks widget display sometimes change, change. For example, in the front yard Wigdet A, on the other pages Widget A does not appear. What's going on ....

The widget displays Specific Specific Page

Actually, there are several ways in which the blogger to do so. Certain Widget That Displays In Specific Page. Want to know?

Here's how in general (these tips aim is to beautify the blog).

1. Display the widget only on the front page alone (homepage)

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

2. Displays on all pages except the homepage.

<b: if cond = 'data: the blog.url! = Data: blog.homepageUrl'>
.................................................. ....
</ b: if>

3. Displays widgets only on page Archive alone.

<b: if cond = 'data: the blog.pageType == & quot; archive & quot;'>
.................................................. ....
</ b: if>

4. View the widget on all pages except the archive page.

<b: if cond = 'data: the blog.pageType! = & quot; archive & quot;'>
.................................................. ....
</ b: if>

5. Displays widgets only on post pages.

<b: if cond = 'data: the blog.pageType == & quot; item & quot;'>
.................................................. ....
</ b: if>

6. View the widget on all pages, except the post page.

<b: if cond = 'data: the blog.pageType! = & quot; item & quot;'>
.................................................. ....
</ b: if>

7. Displays widgets only on certain posts.

<b: if cond = 'data: the blog.pageType == & quot; address-posts & quot;'>
.................................................. ....
</ b: if>

8. View the widget in addition to the specific post.

<b: if cond = 'data: the blog.pageType! = & quot; address-posts & quot;'>
.................................................. ....
</ b: if>

9. Displays widgets only on page staticpages.

<b: if cond = 'data: the blog.pageType == & quot; static_page & quot;'>
.................................................. ....
</ b: if>

10. Displaying a widget on all pages, except staticpages page.

<b: if cond = 'data: the blog.pageType! = & quot; static_page & quot;'>
.................................................. ....
</ b: if>

Note: Signs point - the point above is the widget code that must be in place

The widget displays Specific Specific Page
1. Of course, you have to open your own blog account.
2. Go to the Element Templates. Then click on Edit HTML
3. Look for the widget that you hide (before you've installed the widget in your blog).
4. For example Widget Fan Facebook. Please look for the words "Facebook Fan" (use Ctrl + F to search quickly)
5. After the meet, it will display the code exactly as shown below.

     <b: widget id = 'HTML4' locked = 'false' title = 'Fan Facebook' type = 'HTML'> <b: includable id = 'main'> <! - only display title if it's non-empty - > <b: if cond = 'data: the title! = & quot; & quot;'> <h2 class = "title"> <data: title /> </ h2> </ b: if> <div class = 'widget- content '> <data: content /> </ div> <b: include name =' QuickEdit '/> </ b: includable> </ b: widget>

6. Then add the code

<b: if cond = 'data: the blog.pageType == & quot; item & quot;'>

before code

<! - Only display title if it's non-empty ->

7. Once added and enter the code </ b: if> before the code

</ b: includable>
</ b: widget>

8. The results will be exactly as below.

     <b: widget id = 'HTML4' locked = 'false' title = 'Fan Facebook' type = 'HTML'> <b: includable id = 'main'> <b: if cond = 'data: the blog.pageType == & quot; item & quot; '> <! - only display title if it's non-empty -> <b: if cond =' data: the 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>

9. Done. Keep your blog template.

Note: The letter code blue is added. Remember somethink, placing no one well. Should fit. If it do not fit, then the error. To anticipate, preferably before the start of the steps above, save your blog template first.

Okay already well ... boss think I have enough on Display Widget Specified In Specific Page. Hope can be used as possible. Greetings bloggers may be useful and good luck.
Bagikan :
+
Previous
Next Post »

Artikel Terkait:

0 Komentar untuk "How to display the Widget Specified In Specific Page"

 
Template By Kunci Dunia
Back To Top