Search Bar on "page" allow only two CPT options with default category

This topic contains 4 replies, has 2 voices, and was last updated by  Steve 5 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #517584

    Steve
    Full Member
    Post count: 1019

    I would like to create pages “specific” to a category.

    The page would textually provide a description of the “category”

    The search bar would only have two CPT’s to chose from not all of them.

    Is there a way to limit the search bar to only two cpt’s and a single category?

    Best regards,

    Steve

    #517598

    Kor
    Moderator
    Post count: 16516

    Hi Steve,

    Thanks for your post. This is possible with custom CSS code and could you tell me which CPT and category that you’ll like to hide and share your Website URL here in question?

    #517650

    Steve
    Full Member
    Post count: 1019

    Hello Kor. How are you? First, there will be nearly 2000 categories, including sub categories.

    https://whowriteswhat.com/accountant-insurance/

    As a temporary fix, I inserted some text above the search bar to let the “searcher” know what keywords to put in.

    Thank you Kor

    #517654

    Kor
    Moderator
    Post count: 16516

    Hi Steve,

    Thanks for your reply. I’m fine and you? Well, you can hide all categories using a single custom CSS code and only display those you need with another line of code. But this is just workaround though, maybe my colleague can shed some light here. Transfering this topic to him.

    #517678

    Steve
    Full Member
    Post count: 1019

    I am good. Slowly, on the weekends, I am appreciating the GD V2 more and more.

    I am having some customizations done to include a “Staff Directory” also. Seems to be on the good path to working.

    Thank you for your support

    Regards,

    Steve

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