Site logo

[Resolved] How to hide a specific tag

Home Forums Support [Resolved] How to hide a specific tag

Home Forums Support How to hide a specific tag

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2456526
    baidy

    Hi support,

    I would like to know if there is a way to hide a specific tag (so targeting a tag basically) so that you don’t see it at the end of the post but the other are fine.

    Thanks a bunch

    #2456530
    Leo
    Staff
    Customer Support

    Hi there,

    I don’t think so unfortunately as each tag/category doesn’t have a specific class we can target.

    What if you just remove that tag from the post itself if they are not being used?

    #2456934
    baidy

    it was a tag to exclude specific targets for example “no meta”. When I wanted a block or a hook applied to something but not to another, I would add exclude post with this “no meta “tag, that’s why it’s awkward to see it appear in the post.

    #2456950
    David
    Staff
    Customer Support

    Hi there,

    is it possible to see the tags on your site ?
    Then i can see what options are available for that.

    #2467333
    baidy

    hi sorry for the late response,

    here is an example, I got this post and would like the tag “no meta” not to appear.

    link : https://i.postimg.cc/g2WPJ1mq/Capture-d-e-cran-2022-12-19-a-14-09-18.png

    #2467468
    Ying
    Staff
    Customer Support

    Hi there,

    Can you try this CSS?

    .entry-meta a[href*="no-meta"] {
        display: none;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/: https://DOCS.GENERATEPRESS.COM/ARTICLE/ADDING-CSS/

    #2469673
    baidy

    Thanks, Ying
    that did the trick

    #2469735
    Ying
    Staff
    Customer Support

    Glad to hear that 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.