# Hide Posts by Tag (Brief Theme)

**URL:** <https://forum.ghost.org/t/hide-posts-by-tag-brief-theme/60927>\
**Category:** Themes\
**Created:** [November 17, 2025, 7:00pm UTC](https://forum.ghost.org/t/hide-posts-by-tag-brief-theme/60927 "2025-11-17T19:00:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gpcroft](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@gpcroft](https://forum.ghost.org/u/gpcroft)\
**Post date:** [November 17, 2025, 7:00pm UTC](https://forum.ghost.org/t/hide-posts-by-tag-brief-theme/60927/1 "2025-11-17T19:00:02Z")

</div>

I’ve found a few older posts on this topic, but would like some up to date advice.

I’m running Brief Theme on Ghost 6.

I have a few Premium posts, reserved for a Premium tier that I’m not ready to launch yet. I therefore want to hide those posts, to save people trying to upgrade to a tier that doesn’t exist.

They all have the tag: Premium 🔖 (Edit: same Tag emoji as below; I don’t know why Forum has converted this one and not the others!)

I found this post: [Ghost Pro - How do you hide articles from code injection? - #2 by brightthemes](https://forum.ghost.org/t/ghost-pro-how-do-you-hide-articles-from-code-injection/25720/2)

…and I consequently injected the following code into my main Ghost \> Settings \> Code injection \> Site header:

.post-card.tag-Premium-🔖 { display: none; }

But it doesn’t seem to have accomplished anything. The posts are still there. I’ve logged out and back in again and refreshed the browser.

Any ideas?

Thx

p.s. when I typed that code in, the forum converted it, so here’s a screenshot of the code I inserted:

 ![Screenshot 2025-11-17 at 19.01.07](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/2/f/2f987cb827975316ebc1eff193a12c4fbfbcfd06.jpeg)

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [November 17, 2025, 8:14pm UTC](https://forum.ghost.org/t/hide-posts-by-tag-brief-theme/60927/2 "2025-11-17T20:14:06Z")

</div>

You’re going to need to open the page up in dev tools (F12) and take a look to see how exactly Ghost has rendered the tag slug. I’m guessing it’s lowercase premium, and I wouldn’t be surprised if the emoji had been stripped or encoded.

---

<div class="post-metadata">

**Author:** ![gpcroft](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@gpcroft](https://forum.ghost.org/u/gpcroft)\
**Post date:** [November 17, 2025, 9:06pm UTC](https://forum.ghost.org/t/hide-posts-by-tag-brief-theme/60927/3 "2025-11-17T21:06:39Z")

</div>

Thanks Cathy. If I do a ⌥⌘U on the page to view the source (of the Code Injection page), I see the following:

 ![Screenshot 2025-11-17 at 20.58.18](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/e/9/e9c4f3d8046fa07da39bcc74a2319c70bf5349b0.jpeg)

I went into the tags and noticed that although the _ **Name** _ of the page is ‘Premium 🔖’ the slug is actually just ‘premium’

I got rather excited at the prospect of it working, changed the code above to just ‘premium’ (without the quote marks, natch) but that didn’t do it either.
