How to Hide Blogger Share Buttons From Post Pages

blogger share buttons
In this post i will show you how to hide the official blogger share buttons from the post pages. Yes you may have seen this in some of the major blogger blogs. If you have activated the read more hack then placing a lengthy social sharing widget below your posts on the homepage is not that good. As the official blogger share buttons are small and flexible placing it only at the homepage is a good idea.

This is done with the help of some conditional statements and no complex codes which can lower the blogs loading speed is never used. Hiding the social share buttons is simple and can be done by adding some codes directly to your blogger template. Follow the below steps in order to hide the official blogger share buttons from the post pages.

Hiding Blogger Share Buttons From Post Pages


Step 1: Go to your blogger dashboard >> Template >> Edit HTML:

Step 2: Check the 'Expand Widget Template' check box at top left.

Step 3: Using Ctrl+F search for the below code:
<b:include data='post' name='shareButtons'/>
Step 4: Replace the above code with the code below:
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<b:include data='post' name='shareButtons'/>
</b:if>
Step 5: Click the orange 'Save template' button.

Now reload your blog and you can see the official share buttons glowing there... After that navigate to one of your post page and the share buttons won't be there... Happy? Then please do follow us on twitter at @BloggerGarage

No comments:

Post a Comment