• Resolved wpfan1000

    (@wpfan1000)


    Hi, I have a custom post type called Listing

    In it I have a bunch of fields

    One field is the city of the Listing eg Toronto
    Another field is for language of the Listing, eg French

    If I search for “Toronto French” I get no results.
    I have selected the specific fields and the specific content type, and selected AND in the settings of the plugin.

    Please help….

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sumit Singh

    (@5um17)

    Hi,

    Please select OR relation in search terms to make it work in this way.

    Thanks

    Thread Starter wpfan1000

    (@wpfan1000)

    That is not an answer and please don’t mark it as resolved – I think the user should decide to do that when they feel the issue is resolved.

    The reason this is not an answer is for the following reasons:

    IF I select OR then I get ALL Listings with the word Toronto or French.
    So if 10 Listings have ONLY Toronto in them, and 20 Listings have only French in them, they will be listed in the search results.

    I am looking for Listings that have Toronto AND French in them. Not either.

    TBH I think this would have been obvious to a developer of a search plugin.
    This, plus marking the issue resolved when it is not, and responding only a month after the issue was posted, is not too impressive.

    Plugin Author Sumit Singh

    (@5um17)

    Hi,

    If you had read the Notes here https://www.secretsofgeeks.com/2014/09/wordpress-search-tags-and-categories.html you should be aware that this feature is not available yet.

    Settings have OR relation with each other. For instance if user searches for “hello world” then both words or any word (You can customize this relation since version 1.1) should be present in title or content or tag or category etc whatever options are selected.

    Then you will see posts if “Toronto French” is a value of single meta key. Otherwise you have to select the OR relation.

    I am aware of this since the beginning and all of the users who are using it.

    About the time, I am sorry this is volunteer work you should be aware that you are not posting on paid support forums.

    You are free to install other search plugins if you see it works in that way.

    Have a good day!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Searching in 2 custom fields’ is closed to new replies.