Skip to main content

Hide a certain category name without removing it?

Comments

5 comments

  • Alex

    Hi,

    where exactly do you want to hide this category? Do you want posts from this category not to appear on the Blog page? Is the blog page created with Brizy Template?

    0
  • Danijel Jokic

    Hi Alex,

    Do you want posts from this category not to appear on the Blog page? No.

    I just want to hide the category name, and the posts to stay ...
     
    The reason for that is that I have the positioning of some posts. For example, I have positions A, B, C, D, and I want a post to be in position "A", but at the same time I want that post to be shown to me in the "Sports" category.


     
     
     
     
     
     
     
     
     
     
     
     
     
    0
  • Alex

    ok I understand. Unfortunately, I can't help you with a custom code that will solve your problem. But if you say you just want to hide the category name then you can try Custom CSS. You can use: nth-child() to hide the category name from certain pages thus there will be no link to this category.

    0
  • Danijel Jokic

    Okay.

    But why Brizy is not compatible with my code?

    It works perfectly on archive posts created with the theme.

    0
  • Alex

    Unfortunately, I do not have an answer to this question. You need to inspect how Brizy extracts categories because it's a bit different from how default WordPress archives work. The support does not include these external works, so I'm afraid that as long as there are no options for this, any custom changes must be made at your own risk.

    0

Please sign in to leave a comment.