Skip Navigation

[Resolved] search changing urls

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

Problem:

Pass URL parameter to Views, and filter the result.

Solution:

Toolset search form can pass search keyword to the result page as URL parameter, in the result page, you can display that URL parameter value with shortcode [wpv-search-term]:

https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-search-term

You can also display the search form and search results in different pages, see our document:

https://toolset.com/course-lesson/displaying-search-results-on-a-different-page/

Relevant Documentation:

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

Our next available supporter will start replying to tickets in about 0.59 hours from now. Thank you for your understanding.

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)

This topic contains 2 replies, has 2 voices.

Last updated by jasonR-11 2 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#2234495

hello, I am curious if within a view depending on what they search it can change the url. So for example if I search colorado it will show the url as Colorado Land for sale, if I search Utah it would be Utah Land for sale and so on depending on the state that is searched the view would show a different url on a different page

#2234755

Hello,

Toolset search form can pass search keyword to the result page as URL parameter, in the result page, you can display that URL parameter value with shortcode [wpv-search-term]:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-search-term

You can also display the search form and search results in different pages, see our document:
https://toolset.com/course-lesson/displaying-search-results-on-a-different-page/

#2236449

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.