Recently I had a requirement to add a photo gallery on one of my blogs. I added the gallery as a new category and wanted to add individual posts under the gallery showcasing my photographs. One problem I was facing was, each time I add a new photo to the gallery, it appears as a new post on the homepage. Such posts were not adding much value to my blog’s home page and I wanted to hide it.
Today, we will learn a quick method on how to hide “specific posts” from the home page without altering anything else. Firstly, install a very light weight plugin called Hide on Homepage and activate it. Further, create a new post and scroll down to find “custom fields” and add a new custom field named “hide_on_homepage” and set the value as “1”. On publishing an article / post with this custom field and value will ensure that post will be excluded from the home page.