Pages

Saturday 2 July 2016

How to Remove the Blogger Feed Links Subscribe to: Posts or Post Comments Atom

Looking for a simplest way to remove the Feed Links below the posts and post comments from your blogger? Here comes the solution! Many bloggers do not feel like showing their blog as a Blogger Blog and they always find ways to remove its default features. One such feature is the appearance of feed links both under the posts in home page as Subscribe to: Posts (Atom) and the comment box of a post as Subscribe to: Post Comments (Atom). Here in this post we prepared easiest recipes to get rid of above mentioned default links. Have a Look!

This includes two parts; the first part explains, how to hide these links and the seconds part explains, how to delete them.

Part A: How to Hide Blogger Feed Links?

Method 1 (Add code under Style tags)

  1. Head to TEMPLATE section.
  2. Click on EDIT HTML.
  3. Just click on the html window and press Ctrl+F.
  4. Search for </head> in the html search bar and paste the following code right above it.
<style type='text/css'>
.feed-links {display:none !important;}
</style>

Click the SAVE TEMPLATE button, take a look on your blog and observe the results. Success seems in your bag!

Method 2 (Add CSS)

  1. All three steps same as mentioned in Method 1.
  2. Search for ]]></b:skin> and paste the following code just above it.
.feed-links {display:none !important;}

You are done!

Part B: How to remove Blogger Feed Links?

Method 1 (Remove Both of them)

  1. Head to your TEMPLATE section.
  2. Ctrl+F the following piece of code.

<b:include data='feedLinks' name='feedLinksBody'/>

3. Delete the whole below code.

<b:if cond='data:blog.pageType != &quot;item&quot;'> <!--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:include cond='data:post.allowComments and data:post.feedLinks' data='post.feedLinks' name='feedLinksBody'/>
</b:loop>
</div>
</b:if>
</b:includable>
<b:includable id='feedLinksBody' var='links'>
<div class='feed-links'>
<data:feedLinksMsg/>
<b:loop values='data:links' var='f'>
<a class='feed-link' expr:href='data:f.url' expr:type='data:f.mineType' target='_blank'><data:f.name/> (<data:f.feedType/>)</a>
</b:loop>
</div>

4. Click the save button.

Method 2 (Remove either of the links separately)
For those who want to have one of the feed links and remove the second one, they can remove either of the links separately by using this method.

To remove 'Subscribe to: Posts (Atom), search the following piece of code and remove it.

<b:include data='feedLinks' name='feedLinksBody'/>

To remove 'Subscribe to: Post Comments (Atom), search for the following piece of code and remove it.

<b:include cond='data:post.allowComments and data:post.feedLinks' data='post.feedLinks' name='feedLinksBody/>


Comments
For both the hiding and removal process, we defined two methods each. All of them will do the job and things will come up roses. Have queries? Feel free to ask! We will assure you the best of our services. Enjoy your success and don't forget to share your feedback. Stay connected :)

No comments:

Post a Comment