Friday, October 18, 2013

Remove "Subscribe to: posts (atom) " from Blogger

Search for "blog feed links" Change "!=" tp "==" so that subscribe to posts will be visible only in the posts page.
  <b:if cond='data:blog.pageType == "item"'> <!-- Blog feed links -->
If you want to remove the subscribe to comments feature, then remove the following:
  <b:include data='post.feedLinks' name='feedLinksBody'/>

In the following block:

  <b:includable id='feedLinks'>
  <b:if cond='data:blog.pageType == "item"'> <!-- Blog feed links -->
    <b:if cond='data:feedLinks'>
      <div class='blog-feeds'>
        <b:include data='feedLinks' name='feedLinksBody'/>
      </div>
    </b:if>

    <b:else/> <!--Post feed links -->
    <div class='post-feeds'>
      <b:loop values='data:posts' var='post'>
        <b:if cond='data:post.allowComments'>
          <b:if cond='data:post.feedLinks'>
   <b:include data='post.feedLinks' name='feedLinksBody'/>         
          </b:if>
        </b:if>
      </b:loop>
    </div>
  </b:if>
</b:includable>

No comments: