Wednesday, January 23, 2013

Blogger Trick hide the post/widget in main page

Well, I wanted to replace some of the widgets to invisible mode in nabinkm.com. Actually, wanted for long time...
<b:if cond='data:blog.pageType != "index"'>

the widget goes here...

</b:if>

Another trick is: replacing
]]></b:skin>


 by


]]></b:skin>
<b:if cond="data:blog.url == data:blog.homepageUrl">
<style type="text/css">
.post,   #blog-pager {display:none;}
</style>
</b:if>
<b:if cond="data:blog.url == data:blog.homepageUrl">
<style type="text/css">
body#layout .sidebar {display:inline;margin-top:200px;}
</style>
</b:if>
-->

No comments: