Add Rss Feed Link Button To Each Blogger Label

RSS Feed Button to Lable : 
You can add RSS feed button before label name in your Blogger. After adding RSS feed button to your Blogger label, your all Blogger labels will contain RSS feed button before label name. With this method your blog visitors can subscribe particular label in your Blogger blog.

How to add RSS feed link button to each label in your blogger blog:

In the previous post we discussed how to add RSS feed button to Blogger blog. Now I will show you how to add RSS feed link button beside your Blogger labels. You have to just add RSS feed code to your label code in your Blogger template. It is easy and simple to add RSS feed button to labels.

Follow below steps to add RSS feed button to labels in Blogger


Step 1 : Go to Blogger Dashboard

Step 2 : Click on Template

Step 3 : Click on Edit HTML

Step 4 : Search label code as shown in below
<b:loop values='data:labels' var='label'>
        <li>
          <b:if cond='data:blog.url == data:label.url'>
            <span expr:dir='data:blog.languageDirection'><data:label.name/></span>
          <b:else/>
            <a expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a>
          </b:if>
          <b:if cond='data:showFreqNumbers'>
            <span dir='ltr'>(<data:label.count/>)</span>
          </b:if>
        </li>
      </b:loop>
After finding above code just add below code to the above code after <li>

<a expr:href='data:blog.homepageUrl + "feeds/posts/default/-/" + data:label.name'>
        <img alt='Subscribe' src='your rss feed image url' style='vertical-align:middle;border:0' />
    </a>

Note :  Replace your rss feed image url with your RSS feed image URL or any RSS feed image URL.Try to use 16x16 size image .

Step 5 : Click on Save Template.

Open your Blogger blog add see RSS feed link button beside each label in your Blogger blog.

No comments:

Post a Comment