How to Hide Specific Posts From Blogger Homepage

There might be some of the outdated posts on your blog and these posts are not ethical and obedient for visitors. They might be fooled with these kind of outdated text. So they knew these article is fooling, then they think that the whole site is fake. If they think this is a fake blog or site, the visitors can be decreased in your site. So that generally, you should avoid these outdated text from your blogs. Outdated posts can be the one of the reason of losing the visitors on your blog. So that these posts are always taken as spam by visitors and also the search engines. 
Hide Particular posts from blogger

Every bloggers should give fresh and valuable information to their visitors. So if you want to hide these kind of posts from your blogger blog's homepage without deleting them, visit the following steps carefully. Lets see the step by step process to hide specific posts from your blogger homepage.

Step 1: Lets login to your blogger dashboard
Step 2: As usual click on template>>edit html and then press ctrl+f to find the given code.

<div class="date-outer">
Step 3: You just now replace the above code with following code.

 &lt;div class=&quot;date-outer&quot;<b:if cond='data:blog.pageType == &quot;index&quot;'><b:if cond='data:blog.searchQuery == &quot;&quot;'><b:if cond='data:blog.searchLabel == &quot;&quot;'><b:if cond='data:post.url == &quot;URL&quot;'> style=&#39;display:none;&#39;</b:if></b:if></b:if></b:if></div>&gt;
Note: Now you must replace URL with your blog's post url which your are wishing to remove from your homepage.

Step 5: Save template.

The above code only remove one post from homepage but if you want to hide more then you just need to put the following code just before the </b:if></b:if></b:if></div>&get; given above.

 <b:if cond='data:post.url == &quot; URL&quot;'> style=&#39;display:none;&#39;</b:if>
You have successfully done this tutorial. Enjoy blogging friends. Thank you. 

Post a Comment

2 Comments

  1. If above code is not working, click below link to get full detail about hide and show widget box in blogger.
    Hide and show widget

    ReplyDelete

Any comment will be appreciated, comment will be published according to our comment policy