Showing posts with label how to remove addthis from blogger homepage. Show all posts
Showing posts with label how to remove addthis from blogger homepage. Show all posts

Friday, March 9, 2012

How to remove “addthis” from homepage, Blogger.

When you add “addthis” button to your blog you are not going to find its html code in the “edit html”. Addthis will appear as an HTML/Java script widget, and to find it you should go to “Design” >>“Page element”. It is very simple you just have to follow these steps.

Open any HTML/Java script widget and as soon as you see its mentioning addthis.com in the widget then you’ll know it’s this one I am talking about. The widget will look like below.



Now you see the highlighted code on the top of the widget just go till the end and like you noticed for mine HTML1 is the name of the widget which corresponds to addthis. Now,
•    Go to Design >> Edit HTML
•    Check Expand Widget Templates
•    Search for the HTML(for e.g. mine was HTML1) in your template by using Ctrl+f in your browser
•    Add the following lines to your code( those in Red)

<b:widget id='HTML1' locked='false' title='' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<data:content/>
</b:if>
</b:includable>
</b:widget>
Henceforth, addthis will appear only on your posts and your static pages will be free from it! :-)