Skip Navigation

[Resolved] I want to make “Custom Search” in detail using Toolset

This thread is resolved. Here is a description of the problem and solution.

Problem:
I want to make "Custom Search" in detail using Toolset - how to build dependent search select dropdown

Solution:
The only way to achieve dependent search filter dorpdown is you will require to setup the Country/State/City as post types. Once you have Country/State/City as post types and your posts of those post types are connected using post-relationship, you can create a view/block-view and add it as a frontend filter.

You can see it in action with our Real Estate reference site: https://real-estate-wordpress.discover-wp.com/
- Please check State/City filters.

You can find the proposed solution in this case with the following reply:
=> https://toolset.com/forums/topic/i-want-to-make-custom-search-in-detail-using-toolset/#post-1778529

Relevant Documentation:

This support ticket is created 3 years, 7 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 2 replies, has 2 voices.

Last updated by kimJ-2 3 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#1777799
qa.JPG

Hi~

Thanks to your kind help, I was able to solve my issue.

I have more question,

In making Custom Search, how can I create a parent group and a child group?

Please see attached image.

For example,

If I choice USA among many countries in the first categories (country),

I want to be able to choice from many cities such as Texas, California, New York, etc.(city)

In diagram,

country city
CHOICE
USA -> NewYork
KOREA Texas
... California

Is it possible?

If so, can you tell me how to do it?

I hope that your future will be full of happiness.

thx

#1778529

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

As I understand - you want to build the dependent dropdown where if you select Country from the country dropdown, it should display the associated states with states dropdown and if you select specific state, it should display the associated cities with the city dropdown.

If this is correct - the only way to achieve this is you will require to setup the Country/State/City as post types. Once you have Country/State/City as post types and your posts of those post types are connected using post-relationship, you can create a view/block-view and add it as a frontend filter.

You can see it in action with our Real Estate reference site: hidden link
- Please check State/City filters.

If you would like to know how those filters are setup, you are welcome to create a test site on our free test platform and play with it on: http://www.discover-wp.com:
=> https://discover-wp.com/register/?site_type=713&layouts=yes

If you setup the Country/State/City as taxonomy, there is no way to display dependent dropdown for it.

#1785217

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.