Customize your Blogger Template Easily

Posted by: Shahbaz Malik on 22 November 2011 Under:

    Today I am very exited because as I am going to take you inside Blogger  template and sharing some nice and useful tips through which you can get more command over your Blogger Template. So in this article mainly I will tell you about Important Data Tags used by blogger to display selective content on your Blog. You can change this Data Tags as your need, once you go through this article.

    These Data Tags will be formatted as <data:name/> or <data:name1:name2/>, where name is the particle type of data that you want to use in your Template.


    Globally available Data : Means you an use these Data Tags anywhere in the template.
     
    1. data:title: Display the title of the Blog.
    2. data:url: Contain url of the Blog.
    3. data:pageType: Contain the Page type of the Blog. ex.
     
    <b:if cond='data:pageType=="item">      The code will execute only if the current page is item page.

    Blog Posts : It contain the following Data Type.
    1. data:label:name: It will Display the label text.
    2. data:label:url:  The URL of the page that contain all posts in this blog under this label.
    3. data:label:isLast: Gives only True or False. Check whether this label is last one in this list.
    4. data:allowComments: True if the post allow comment.
    5. data:numComments: The number of comment in this post.

    I think by going through this article you can modify your template to very much extent. But if you find any difficulty in modifying the template then make Comment I will definitely help you.

    If you enjoyed this article then kindly take 5 seconds to share it!!

    0 comments:

    Post a Comment

    LinkWithin

    Related Posts Plugin for WordPress, Blogger...