Skip Navigation

[Resolved] What are view settings for search results template in Elementor

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

Problem:

Create a wordpress archive with search form.

Solution:

You can use Views wordpress archive to customize the WordPress built-in search result page.

For example:
Dashboard-> Toolset-> WordPress Archives

"Add new", in the dialog window, choose option "Search results"

Relevant Documentation:

https://toolset.com/documentation/user-guides/creating-wordpress-custom-post-archives/

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

This topic contains 2 replies, has 2 voices.

Last updated by Pavel Capcan 6 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#1137762

I've set up a template for search results in Elementor. In that template I've inserted a "View" widget to output the grid of results. In that widget I've selected a view created by me in Toolset. The problem is that this view just outputs all posts. How to filter it by the current search query?

Here is the result: hidden link

I can send the creds if needed.

Can I use views for this case? Or I need to create a wp archive view. In this case I'm not able to insert it via the widget in Elementor.

#1138048
search-result.JPG

Hi,

You can use Views wordpress archive to customize the WordPress built-in search result page.

For example:
Dashboard-> Toolset-> WordPress Archives
"Add new", in the dialog window, choose option "Search results", see screenshot search-result.JPG

More help:
https://toolset.com/documentation/user-guides/creating-wordpress-custom-post-archives/

#1138836

My issue is resolved now. Thank you!