Around 3200 Rss Feed readers​​ Already joined, Have you?

Views Function Code To Manage Content Blog

Saturday, May 07, 2011

Share this history on :
As we know, the template style blog Style Magazine is one of the favorite templates that are often in use by the blogger. One characteristic of a blog template with Style Magazine is a widget that appears and then disappear or vanish initially and then appeared on a page or a blog post.

This is the type and function code to set the display content from blogs appear and disappear and vanish then appear. you can apply to adjust the look of your blog widgets.

1. Only the Blog Main Page

<b:if cond='data:blog.url == data:blog.homepageUrl'> ... </b:if>
This code serves to display the widget only blog on the main page blog only aliases will disappear when my friend clicks Labels Post or read postings in its entirety. Examples of the use of this code can you see the following blog demo. If my friend read the article in whole or clicking the post categories, 3 columns above the main post will disappear.

2. Categories Post and Single Post

<b:if cond='data:blog.url != data:blog.homepageUrl'> ... </b:if>
This code serves to display the widget on a blog post and single post category (read the whole post.) Example use this code you can see in the demo blog earlier when my friend clicks on the category in which the post or read postings on the whole, the widget on the footer column titled DheTemplate.com - Everyday New Free Blogger Templates emerging. This widget will not appear on the main page blog.
 
3. Main Page and Blog Post Categories

<b:if cond='data:blog.pageType != &quot;item&quot;'> ... </b:if>
This code serves to display the widget on the main blog post and category posts and will disappear when I read the posting in its entirety. Example use this code in the widget demo blog is on the left sidebar under the title New Templates. If my friend read a posting in whole or clicking on the category of post (About and DheTemplate in the navigation menu), then the widget will disappear.

4. Single Post
 
<b:if cond='data:blog.pageType == &quot;item&quot;'> ... </b:if>
This code serves to display the widget only on a single blog post alone or when you read the posts as a whole and will not appear on the main post or category of post. Example use this code in the demo blog is the left sidebar widget with a title Blog Templates where when my friend read a posting in its entirety, then the new widget appears.

5. Main Page and Blog Post Categories

<b:if cond='data:blog.pageType == &quot;index&quot;'>
The function of this code is equivalent to the code number 3.

6. Blog Widget Display Only In Specific Postings

<b:if cond='data:blog.url == &quot;URL_POST&quot;'> ... </b:if>
This code serves to display a widget blog at a particular post. For more details, please view the demo blog buddies. Then click the Post article with the title DheTemplate.com - Everyday New Free Blogger Templates. You will see a widget blog with the title Templates By DheTemplate appear. Widget will not appear when my friend read another blog post. For example, my friend read the blog postings on the demo with the title DheTemplate.com, then the widget will not appear.

7. Hiding Widget Post On Specific Postings Only

<b:if cond='data:blog.url != &quot;URL_POST&quot;'> ... </b:if>

This code is the opposite of code blog no 6 in which the widget will disappear from a particular post and was to appear in another posting. For more details, click the article pal post with the title DheTemplate.com - Everyday New Free Blogger Templates and appeal if the friend clicks on the posting with the title DheTemplate.com. What will you get?? Widget BlogList blog with the title appearing on posting articles with titles DheTemplate.com - Everyday New Free Blogger Templates and new widget appears on posting articles with titles DheTemplate.com. as well as other articles and postings that the main page and category post.

Maybe that's all I know about how to create widgets of the blog appears to be disappearing or disappeared and then emerged. To implement the above code there are 2 ways: directly on the widget and in groups (perhaps in a next article).

Related Articles



0 Comments: