How to Hide Posts Based on Labels in Blogger
Posts on the Blogger Index or Homepage can be hidden based on labels that you don't want to display on the index or homepage.
Posts on the Blogger Index or Homepage can be hidden based on labels that you don’t want to display on the index or homepage.
To hide them, you need to edit the Blogger template. To edit it, you need to go to the Theme tab, click the three dots next to it, and select Edit HTML. Now, find the following code (you can use the shortcut Ctrl+F):
<b:loop values='data:posts' var='post'>
Then replace all that code with the following code:
<b:loop values='data:view.isHomepage ? data:posts where (p => p.labels none (l => l.name == "LABEL HERE")) : data:posts' var='post'>
Replace “LABEL HERE” with the label you don’t want to display on your Homepage or Index page. Please check your homepage/index or front page of your blog, and posts with the label you don’t want to display will not appear on the front page.