How To Shroud Specific Posts From Homepage Inward Blogger

Hiding a specific or sure enough post service from the homepage of your blogger weblog mightiness appear to live on a repulsive act, but it does brand feel on a few occasions. Recently, ane of our users asked us how to cover specific posts from your Homepage inward Blogger? This technique is essential for those webmasters who no longer desire to display a post service that is appearing on their homepage. The argue could live on anything the post service mightiness live on outdated, or it could live on a giveaway article that does non hold off relevant to live on displayed on homepage. Today inward this article, nosotros volition demonstrate yous how to cover specific posts from the homepage inward blogger.

 The get-go affair yous demand to login into your blogger draw of piece of occupation organisation human relationship in addition to become to Templates >> Edit HTML (be sure enough yous stimulate got taken a backup of your template, it is a proficient exercise inward instance something went incorrect yous tin purpose the backup) in addition to search for the next code. You volition respect the below code somewhere nearly the BLOG1 Code.

<div class="date-outer">

Now correctly supplant the inward a higher identify code amongst the next lines of coding yesteryear making sure enough yous are just copying in addition to pasting the right code. If yous immature lady a unmarried thing, in addition to then the code volition non operate in addition to yous may appear upward roughly form of errors.

<div class="date-outer"
    <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;Your-Post-Link&quot;'> style=&#39;display:none;&#39;</b:if>
            <b:if cond='data:post.url == &quot;ANOTHER POST URL&quot;'> style=&#39;display:none;&#39;</b:if>
          </b:if>
          </b:if>
          </b:if>
       &gt;

After pasting the inward a higher identify code, at in ane lawsuit it is upward to yous which weblog posts yous would similar to cover from your homepage. Replace Your-Post-Link amongst the URL of yous post service that yous would similar to cover from your homepage. You tin cover multiple posts yesteryear adding to a greater extent than URLS inward <b:if condition/> tag.

Congratulations: Once everything is done, relieve the template. Now become to your homepage in addition to attempt if things are working according to the plan. If yous follow the steps correctly, nosotros are sure enough it would operate only fine.

Alternative Method:

Every post service has its ain unique ID, thence if nosotros are able to respect that unique id nosotros tin evidently apply display:none; CSS to cover it from our homepage. We stimulate got already written a tutorial on how yous tin respect ID of your posts, thence earlier moving ahead read that tutorial here.

Once yous got your Post ID, become to Blogger.com >> Template >> Edit HTML in addition to search for the ]]></b:skin>, in addition to only inward a higher identify it glue the next CSS code. Rememeber. Do non forget to supplant post-1234567 amongst your ain Post ID which yous would similar to cover from your homepage.

<style>
<b:if cond='data:blog.url == ... >
#post-1234567 {display:none}
</b:if>
<b:if cond='data:blog.searchLabel == ... >
#post-8903456 {display:none}
</b:if>

We promise this tutorial, may stimulate got helped yous inward learning a few techniques through which yous tin cover a post service from your homepage. Since, nosotros stimulate got used display:none; css thence the search bots volition choke on to index it equally it is non completely removed from the rootage code of your website.

Comments