Show / Hide specific categories in search form field

This topic contains 4 replies, has 3 voices, and was last updated by  Kor 6 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #441435

    jotomas
    Buyer
    Post count: 802

    Hello,

    Is there some way to hide or show only specific categories in the category field of the search form?

    I look forward to your reply.

    Thank you very much for your attention.

    Best regards.

    #441442

    Alex Rollin
    Moderator
    Post count: 27815

    It would be a customization, but there are some examples here:
    https://wpgeodirectory.com/support/topic/subcategorys-display-in-search-bar/#post-432399

    You can see others by searching the forum.

    #441454

    Kor
    Moderator
    Post count: 16516

    Hi Jotomas,

    It would be similar to your previous topic here https://wpgeodirectory.com/support/topic/hide-cpt-on-selection-box-of-search-in-macos-and-ios/ . Tell me what are you trying to hide and I’ll try to provide the custom CSS code to do that.

    Thanks!

    #441486

    jotomas
    Buyer
    Post count: 802

    Hi Alex, hi Kor,

    Thank you very much for your replies.

    The code from the thread mentioned by Alex works for what I am looking here:

    .cat_select option[value=’572′] {display: none;}

    Best regards.

    #441497

    Kor
    Moderator
    Post count: 16516

    Hi jotomas,

    Alright. I’ll close this one.

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount