Any way to restrict search results to a specific Category

This topic contains 3 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #515327

    Anonymous

    Its great that you can restrict map results by Category – any chance this can be done with search results.

    I have tried adding the Category to the search bar, but I cant see a way to set a default, meaning the customer has to then choose the one you want them to and get all the category results when you only want to show one?

    Is this possible? Like it is on the Map?

    Thanks

    #515339

    Alex Rollin
    Moderator
    Post count: 27815

    No, that is not currently possible.

    Would you still want the user to be able to choose?

    Or you want to set a specific search bar on a specific page to a default, then let them choose again on the search results page?

    There is only one search results page.

    #515382

    Alex Rollin
    Moderator
    Post count: 27815

    OK, I have made a note and we will consider it for future versions.

    For now it would require a customization outside what we can help with here in the forum.

    #515508

    Alex Rollin
    Moderator
    Post count: 27815

    All the available options are in the shortcode builder.

    Use that to configure the options you want.

    https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/

    If you want to hide fields you can find example CSS here:

    https://wpgeodirectory.com/docs-v2/faq/common-examples/#gd_search

Viewing 4 posts - 1 through 4 (of 4 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