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!
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
Yes, shortcodes have a lot of options, thank you Waqar!