Skip Navigation

[Resolved] Show View Block results and form on different sections of a page

This support ticket is created 4 years, 4 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.

This topic contains 2 replies, has 2 voices.

Last updated by davelow 4 years, 3 months ago.

Author
Posts
#1801823
Screenshot 2020-10-06 at 22.07.21.png
Screenshot 2020-10-06 at 22.06.49.png
Screenshot 2020-10-06 at 22.06.19.png

Tell us what you are trying to do?
I am trying to display the search form and the search results of a view block on different sections of a page. The intend was to have the search form in the sidebar via 'WP Views Filter' widget.
Working on a new page, on adding an existing view, I was able to include: both the search form and results or only the search form, or only the search results. Selected 'only the search results' This was available under custom search settings. the view is of loop style, masonry 3 columns, but appeared as one column on new page it as inserted. clicked on the 'edit original view', no edit was done except clicking on 'update' for the view. coming back to the new page, the view displayed correctly this time but with the search form. how do we remove the search form?
Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?
hidden link

#1802619

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Blocks doesn't yet support inserting the search form and results separately, this is a feature currently only available with legacy Views.

However, if you want to show them side-by-side you might want to use a full-width page and then use columns to split the search filters into one narrow column and the results into a second wider column.

You can see an example in this video: https://toolset.com/course-lesson/creating-a-custom-search/#setting-up-the-view-search-and-results-side-by-side

#1809425

Thank you Nigel, My issue is resolved now. Thank you!