Support » Fixing WordPress » Exclude some tags

  • I’m working on a really old blog where we have many tags. Some of them are only useful for admins (for finding posts etc) and should never be shown on the front end. I know this might not be the intended use of tags but for reasons we have ended up with that anyways.

    I’m trying to find a plugin where I can mark some tags as private or hidden. To not show them on the front end.

    Are there any way to do this? I’m on a child theme so if needed I can write php in the functions file.

    Thanks!

Viewing 1 replies (of 1 total)
  • Hi,

    Have you tried to use a CSS like this one?

    .tags-links > a[href*="/dessert/"] {
        display: none;
    }
    

    Basically, just replace dessert with the tag that you’d like to remove and copy the CSS snippet to the Appearance → Customize → Additional CSS area.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.