This support ticket is created vor 7 Jahre, 10 Monate. 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I have a standard filter which i have in the main body, however I would like to be able to have a filer appear as a widget, can you expolain how I can get this, I am OK going to widgets and adding a WP View Filter, it is from there where i am lost.
See screenshot, I have managed to add a filter to the side and from what I can figure out this has to have a search button, you can correct me if I am wrong. However the second issue is can I have it that the filter in position "2" does not show on the results page. (The screenshot is the results page)
It seems to mention that if I remove one bit of code it will then remove those filters I have mentioned, however when i do so the seaecrh actually does not work properly. I have this on my local machine not live.
[wpv-filter-meta-html] --- I remove this
[wpv-layout-meta-html]
The [wpv-filter-meta-html] shortcode displays the output of the Filter section. The [wpv-layout-meta-html] shortcode displays the output of the Loop Output section. You can add your HTML and fields to rearrange and style the output.
It would appear to me that this bit of code shows the filter input items. ( [wpv-filter-meta-html] ) and if I remove this from the Views admin, then what happens is my search filter that I have in the sidebar does not work. The only way I can show you this live is to allow you remote access to see.
Using only Views and a Theme that registered a Sidebar, you can use the WP Views Filter Widget which you find in your Appearance > Widgets area in WordPress dashboard.
To use this Widget you need a Post View where you create your parametric Search Filter and add a Submit Button. This View is the one that you will choose in the WP Views Filter Widget.
Perhaps someone else can help me as you seem to be avoiding my question which is really wasting time and causing delays, please either answer my question and if you are not sure, please say so instead of sending me links to references that have nothing to do with my issue.
Hi Shane, thank you, see my first screenshot of this thread. Now I have managed to place a filter / search within the sidebar, however one appears within the search result page. However I have noticed that there are 2 bits of code when I edit the View for this parametric search.
[wpv-filter-meta-html] >>>> Remove this one
[wpv-layout-meta-html]
When i remove the top one and save, the page does show without the filter elements, however when i do a Search with the one in the sidebar it does not work once that other filter is removed.
The filter is actually needed in order for the search to work. We have an option to allow for the filter alone to be on one page and the results on another page, however the results page will also have the filter on it as well.
So it is essentially not possible to have the results only without the filter at the top.
However there is a way you can manually create the search filters elsewhere as a form and then allow the form to use a GET method so that it passes the values in the url so that the view can be filtered.
This method isn't dynamic, which means that items wont be added to the filters automatically.
There must be some sort of way to be able to have a filter/search in the sidebar as per my screenshot but also not have those filters appear on the results page.
The reason I say is that the sidebar layout reflects on the results page layout.