Skip Navigation

[Resolved] Can I see search results in a different page when using DIVI?

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/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by rubenM-3 2 years ago.

Assisted by: Waqar.

Author
Posts
#2491385

I need a search in me homepage, made with DIVI, that shows results in another page. This page explains it with Block Editor, https://toolset.com/course-lesson/displaying-search-results-on-a-different-page/, but how can I do this with DIVI? I ca'nt configure view in DIVI.

Thanks!

#2491739

Hi,

Thank you for contacting us and I'd be happy to assist.

When you're not using the Blocks editor, you can call the views, using the "wpv-view" shortcode:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-view

For example, suppose your view's name is "View 1", the shortcode to show only the search form will look like this:


[wpv-form-view name="View 1" target_id="123"]

Where you'll replace '123' with the ID of the page where you'd like to show the search results.

And on the page where you'd like to show the search results, you'll use the shortcode:


[wpv-view name="View 1" view_display="layout"]

Note: In the DIVI editor, you can use a text widget or the shortcode widget to place these shortcodes.

I hope this helps and please let me know if you need any further assistance with this.

regards,
Waqar

#2491821

Yes, shortcodes have a lot of options, thank you Waqar!