How To Make A Gadget Or Widget Visible Only To Blog Administrator
Hi, This is a very different post to blog admins. Some times we are in big trouble to hide some tracking gadget or widget from blogger. We know tracking websites count our traffic, root, search engine details etc, and it shows public. So this trick is very helpful to hide these type details from visitors. But you can hide widget only from external visitors. Blog admin can view all details of widget. For that you first log in Blogger account. and just click on view blog option. This is very different trick from other widgets. Because it make two type view mode. If you want to add this widget to your blogger. Just follow below steps….
First Log in your Blogger account.
- Select Template option.
- Click on Edit HTML.
- Find (CTRL+F) widget ID or Name.
- Add some codes to widget, like below.
<b:widget id='HTML2' locked='false' title='' type='HTML'>
<b:includable id='main'>
<span class='item-control blog-admin'><!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<h2 class='title'><data:title/></h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div><b:include name='quickedit'/>
</span>
</b:includable>
</b:widget>
All gadget code different from above example, But you can add code very easy. Just place the first code in RED just after <b:includable id='main'>.
Then add second code in RED color before </b:includable>.
- Save Template.
- Done.
- View your Blog, after sign out from blogger account.
You can see only this widget from admin account.
Leave a comment below…………………

No comments: