I seek support with an alternative site search configuration alternative that I have to resolve a long-standing ticket issue.
THE PROBLEM BEFORE: A shortcode had been placed in the homepage with a Divi text module in the second section for a responsive 3 column search form and another code placed in a Divi text module in the third section. There was a secondary page where the form and results had been placed. The secondary location had minor issues displaying the results correctly but the homepage was highly problematic with many tickets on the issue.
PROPOSED RESOLUTION: Since the static subpage displayed results with fewer distortions I would like removed the search form and the results shortcode from the homepage entirely.
I created a new page titled /search/ and placed the results shortcode in the top Divi section and the form shortcode for the search in the second Divi section below the results.
hidden link will be the only search form and results display for the site.
This single form and results display can be reached from two locations 1. clicking the "Search Other Work" link on the homepage: hidden link and 2. clicking the "Search" link in the top navigation on subpages.
Due to the initial setup of the previous configuration and the long support ticket history with related issues, I respectfully ask your help with editing the previous Toolset configuration enable the functionality of the new proposed configuration.
When someone lands on hidden link the form ONLY should appear at the top of the page.
No results should display until a search form query has been submitted.
After a search is submitted and there are results > a single responsive 4-column table-based row should appear at the top of the page sourced by the shortcode placed in the Divi text module in section one, above the form shortcode in the section module below.
Each time a pagination link is clicked > the next page of results should always begin at the very top of the page.
This would be an ideal solution to a long-standing issue history. I have already configured the Divi page elements.
I ask for your support in making this plan work.
Hello,
I think it is possible, you can display the search result and custom search form in different place, for example:
1) Create two wordpress pages:
- search
- search result
2) In the "search result" page (ID 12345), display the default Views shortcode wpv-view, for example:
[wpv-view name="MY-VIEW-SLUG"]
This should be able to display both the search result + search result
3) In the "search" page, display only the custom search form, after user submit this search form, redirect it to the search page, for example:
[wpv-form-view name="MY-VIEW-SLUG" target_id="12345"]
More help:
https://toolset.com/documentation/user-guides/front-page-filters/#4-1-adding-the-custom-search-form-to-a-page-or-widget
See screenshot:
hidden link
My issue is resolved now. Thank you!