Skip Navigation

[Waiting for user confirmation] Turning individual results off after a search, then sending to a querysting

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)

This topic contains 3 replies, has 1 voice.

Last updated by Minesh 4 days, 14 hours ago.

Assisted by: Minesh.

Author
Posts
#2793073

Tell us what you are trying to do?
I have a map and list of locations searchable by category. I want to be able to then turn individual display results off (or check to be 'on')

Is there any documentation that you are following?
I've tried finding the same query in the support forum.

Is there a similar example that we can see?
Not that I'm aware of, but this idea (hidden link) of 'favouriting entries might work as an alternative

What is the link to your site?
hidden link

#2793128

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

There is no such feature available.

Do you mean once user perform search before search result get displayed on fronted, you want to remove x items from search result? if yes, how to know what items you want to remove?

Please clarify your requirement first and I will see if there is any workaround available for such cases.

#2793129

When a user choose a category, it shows results from that category (or multiple categories). Resultsare shows as markers on the map and cards underneath. I want to be able 'pass' the location titles in a querystring, eg: domain.com/locations=loccation1,location2,location3.

However, if there are a lot, which there will be, I want to be able to turn off locations from being added to the querystring, by turning them off, either by clicking the marker, or the card. it would also work if the user could do the opposite, as in they could click the marker or card 'ON' before sending locations to the querystring.

#2793136

Minesh
Supporter

Languages: English (English )

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

There is no such feature available.

Toolset view's offer the hook "wpv_filter_query" that you can use to include/exlucde posts on fly using post__in and post__not_in argument respectively which you can hook in.
- https://toolset.com/documentation/programmer-reference/views-filters/#wpv_filter_query

You're also welcome to get in touch with any of our certified contractors for any custom work you require:
- https://toolset.com/contractors/