Skip Navigation

[Resolved] find posts that do NOT contain the options NOT selected in custom search?

This support ticket is created 6 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 6 years ago.

Assisted by: Minesh.

Author
Posts
#1156847

a.R

Hi,

in custom search users should be allowed to check the material they have, and then custom search should find the posts that ONLY need the checked material. Or, with no material checked, find ANY posts.
Is that possible?

THANK YOU, kind regards, Achim

#1157656

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - as I understand, your requirement is that user should be allowed to select the specific material items and then the custom search should find the posts which are falls within he selected materials - correct?

There is no such feature available but if you can tell me the exact flow with few screenshot or problem URL I can guide you in the right direction that if it will be possible with Toolset or not.

#1158626

a.R

Hi, thank you. I think you already understood my question. Let me try further:

Search: Chair, Table, Shelf checked
Posts:
Chair, Lamp -> NO
Chair -> YES
Nothing -> YES
Chair, Table, Shelf, Lamp -> NO

Search with nothing checked should find ANY posts

It should find all the posts with ONLY materials given as search parameters.

>>> So to say search parameters and post parameters SWITCHED ROUND. <<<

I hope this helps? kind regards

#1158630

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - so Chair, Table, Shelf are custom field values, if yes, what should be the type of custom field that will store the values of Chair, Table, Shelf? or it's taxonomy?