Buy me a coffee

How to hide blog posts?

Suppose you have this blog page and you want to hide blog item 3 and 4 (screenshot)

How To Hide Blog Posts 01 Min

You can follow these steps.

#1. First, hover on blog post that you want to hide, click 3 dots > Settings

How To Hide Blog Posts 02 Min

and see Post URL

How To Hide Blog Posts 03 Min

In my example, we will have:

  • /blog-2-1/blog-post-title-two-km9nm
  • /blog-2-1/blog-post-title-three-3w5th

How To Hide Blog Posts 04 Min

#2. Use this code to Custom CSS box

article.blog-item:has([href="/blog-2-1/blog-post-title-two-km9nm"]), article.blog-item:has([href="/blog-2-1/blog-post-title-three-3w5th"]) {
    display: none;
}

How To Hide Blog Posts 05 Min

#3. Result

How To Hide Blog Posts 06 Min