Skip Navigation

[Resolved] Filter by both Toolset and a custom API

This support ticket is created 5 years, 8 months 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 5 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#1243456

Hello,
We are developing a WP website with a custom PHP search system which will filter custom post type (properties) according to data (availability) from a third-party API. A client searches for available properties in a certain period of time and - thanks to that third-party API - we provide her/him with a filtered list.

Now, we would like to use Toolset, so that the list returned from the previous step would be filterable the usual way (Toolset-managed filter for custom fields, like properties' amenities) multiple times through AJAX. Is that somehow possible, using your API?

#1243477

Hello,

Please elaborate the questions with more details:
How do you want to display the search result with Views plugin?
How do you pass the search parameters?

If you want to display the search result as a wordpress page, you can setup a post view with custom search form, put this post view into a wordpress page, then pass URL parameters to the target page, Views will be able to output the search results in the wordpress page, see our document:
https://toolset.com/documentation/user-guides/front-page-filters/