GeoDirectory Support Forums Forums GeoDirectory Core Plugin GeoDirectory Core Plugin support advanced search show results that meet one or more but not all search criteria

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #408696

    Lydia Williams
    Full Member
    Post count: 40

    Hello I am trying to set it up so that results will show all those listings the meet at least one of the criteria and for it to also note which criteria it meets.

    #408704

    Alex
    Moderator
    Post count: 1523

    Hello!

    you can use a category, tag, or custom field for the criteria

    https://wpgeodirectory.com/docs/core-place-settings/#custom
    https://wpgeodirectory.com/docs/gd-search/

    #408720

    Lydia Williams
    Full Member
    Post count: 40

    I’m confused. I created custom fields. But i want the results to return with OR not AND if the visitor uses advanced search. ANd I want them to be able to know which listings meet which criteria. Thanks!

    #408785

    Alex
    Moderator
    Post count: 1523

    Hello!

    You can review the AND/OR settings at GD > Place Settings > Advanced Search

    Click on your field and you can adjust AND/OR

    Next show the fields as sorting options at GD > Place Settings > Sorting Options

    Last, in GD > Design > Search > Display searched parameters with title : CHECK

    Let us know how that works for you

    #409093

    Lydia Williams
    Full Member
    Post count: 40

    sorry i must be missing something. I’m not seeing the AND/OR

    Attachments:
    #409095

    Lydia Williams
    Full Member
    Post count: 40

    i’m also not seeing the check off box to choose this as a sorting option…

    #409124

    Alex
    Moderator
    Post count: 1523

    Hello!

    GD > Place Settings > Advanced Search

    Create your custom field. In this example my field is selected, and then options are available

    #409212

    Lydia Williams
    Full Member
    Post count: 40

    I was able to change Select to Check and choose OR but the results still only show a listing if it meets all criteria.

    Attachments:
    #409248

    Alex
    Moderator
    Post count: 1523

    Hello!

    Let’s take a look at an example, now that you have the settings under control.

    Can you show 1/2/3 cases where a listing should be included vs excluded?

    You can make a private reply to share the search result URLs, and include your WP Admin credentials if you would like us to take a look at the settings.

    In General, multiple search criteria would be AND’d together. I am not sure that can be changed without a customization.

    Have you already adjusted the sorting options? It could be that sorting options might gt you closer to what you are looking for.

    #409375

    Lydia Williams
    Full Member
    Post count: 40
    This reply has been marked as private.
    #409483

    Alex
    Moderator
    Post count: 1523

    Hello!

    I did see that there were ‘no results’ for the search you mention above. From what I understand, the search results are “And”‘d together, meaning that custom criteria must all be true.

    I will inquire of a colleague about your intent for the search. Thank you for your patience as we look into it.

    #409519

    Stiofan OConnor
    Site Admin
    Post count: 19637

    The OR argument is for within the same custom field not different ones.
    What you want is not possible at the moment.

    Thanks,

    Stiofan

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

You must be logged in to reply to this topic.

  • How to add a new support ticket

    To open a new support ticket, first select the relevant forum and then click the "New Post" button. Example: You need support for the core plugin? Click on GeoDirectory Core Plugin support and click on the "New Post Button".
  • Support Policy

    Please read the support policy before starting to use the forum.
  • Featured ThirdPartyAddOn

  • Feature Requests

    Is there a theme for which you'd like to see a compatibility package or a new feature that you think would be of great benefit for the GeoDirectory community?

    Submit a feature request : here

    Each month you get 5 votes to distribute. You can choose to use all your votes for one idea you really like, or spread them across between several ideas :)

    We will do our best to create whatever you suggest if it becomes popular, we however reserve the right to reject ideas that we believe could not be realized without revolutionizing the plugin.

  • Are you a developer?

    Make Money with GD Jobs

    Check out the GeoDirectory Jobs Forum, there may be a new client waiting for your services. Only Premium members can access the GD Jobs forum.

    Or selling GD Themes and Addons

    Did you know that you can easily build GeoDirectory Addons and Themes and that there is a rapidly growing market for it? Submit your Add-ons and Themes here
  • Looking for a GD developer?

    We do not provide customization services, but feel free to check out the GeoDirectory Jobs Forum, there may be already a freelance GD expert ready to start working with you. Only Premium members can access the GD Jobs forum. GeoDirectory doesn't endorse any of the developers present in our forums. However we can guarantee that they are all Premium Members just like you. Please ask for references before hiring anyone and use common sense. We don't take responsability for poor quality jobs and/or missed deadlines