How to hide blog posts from homepage

0
638
How to hide blog posts from blogger homepage, How to hide blog posts from blogspot homepage, How to remove blog posts from homepage, How to remove blog posts from blogger homepage, How to remove blog posts from blogspot homepage,

 

Here I’ll showcase how to hide/remove your blog posts from your homepage of your blog. Here is the trick.
How to hide blog posts from homepage:-
  1. Login to your blogger
  2. Dashboard -> Template -> Edit HTML -> Process -> (click) Expand Widget Templates
  3. Now search “]]></b:skin>” and add the code after this, like shown below
]]></b:skin>

<b:if cond=”data:blog.url == data:blog.homepageUrl”>

<style type=”text/css”>

.post, .sidebar, #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>

Now save the template.
[Note: You are hiding both side bar and your post here. To hide your posts alone just remove the line .sidebar from the above code.]

 

Video Tutorials : 

If you find this post useful like this post, Share it with your friends. Stay tuned to Logixsnag for more updates.

LEAVE A REPLY

Please enter your comment!
Please enter your name here