I have a search on the homepage with the search results on a separate page: hidden link.
On the results page, despite the search not being enabled, the search fields are visible below the search results.
Your wording is confusing -- is using a block view problematic?
Yes, I followed your documentation to create the search form and the separate results area.
Can you please tell me why the search fields are showing, and how to remove them? They are not turned on so I don't know why they are showing.
Alternatively, I would be okay with them showing, but I would want them at the top of the page, and they would need to display the terms that were used for the current search. Thanks
I checked and I found that there is something not working as expected. This may be due to how you added your view or something else or view is corrupted.
After creating your view - what if you try to add your view using the shortcode as given under:
- To display Search form:
[wpv-form-view name="property-search-homepage" target_id="2860"]
- To display Search Result:
[wpv-view name="property-search-homepage" view_display="layout"]
Thank you, I replaced the two Views blocks with shortcodes and both are now showing up correctly.
But, now how can I make an edit to the search results View? When I go to Toolset > Views, it says "This View can only be edited in the Block Editor from within the post that includes it." If I follow the link to edit it, it brings me back to the page where I inserted the shortcode -- so I don't get a way to edit the View.
Okay, so the only way to edit the View is to insert it into a test page (or insert it in the existing search results page and then remove it after editing). Please let me know if I'm misunderstanding.
I see that even when you inserted it into a test page, the search fields are still displayed at the bottom despite being turned off. I know we have a workaround but it's not ideal, so I do ask that you continue to troubleshoot the issue on your end. Thanks!