Home›Types Community Support›[Resolved] How to display custom search form on the side of results in a WordPress Archive?
[Resolved] How to display custom search form on the side of results in a WordPress Archive?
The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
In the manual i found this:
"4.1. Adding the custom search form to a page or widget
If you are creating a Custom Search WordPress Archive, then you are all done. The WordPress Archive always displays in its place and now it also has search functionality."
But the form will always be shown before results. I can change its style but I do not know how to show the form on the left side of the results, because when I'm using a Wodpress Archive I do not know how to put the form in another column by shortcode and I do not have the view to select in the widgets.
Is it possible to do that? How can I do it, please?
Firstly, please note that you are posting in the Community Forum for users of the free Types plugin. As a Toolset customer you can and should post in the Technical Support forum which we prioritise and where you should receive speedier service.
Regarding your question, with a custom archive you don't have the same control over the placement of the form and the search results as you do with a View, the form is rendered before the results and the only way to modify the appearance is to get creative with CSS and/or JavaScript.
If you are using Layouts then you can assign a Template Layout to the archive in question and then, instead of adding an Archive Cell to the Layout add a View, where you split the form and results into separate columns.
If you are not using Layouts then what you can do is leave the wpv-loop section of the Loop Output Editor blank and insert markup for your columns inside the [wpv-layout-start] shortcode, and insert a custom search View, splitting the form and the results into your separate columns.
So on the archive page you are not outputting the archive itself, but a View which looks like the archive and returns the same results, but with the form and results split up.
Does that make sense?
The forum ‘Types Community Support’ is closed to new topics and replies.