This support ticket is created 6 years 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.
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.
The search form that I created for a static page view is not working.
In an effort to better organize the filters, I added a default "Any" or "All" field holder so that no specific field option would be selected by default leader the user to either select or display all applicable results.
If the field is defaulted to "Any" or "All" will this necessarily deliver every applicable file or would it deliver nothing?
If the above "Any" or "All" workflow isn't correct, is there a way to display all applicable search results for a single filter?
Hi, I need more information:
1. What type of field is this in wp-admin?
2. What type of filter is this on the front-end of the site?
3. How did you add the default "Any" field?
I 'm not sure how to answer your first two questions. I have a field group of fields that I created to filter content for the product posts of the site. I am currently attempting to use fields from the same group in the search form.
I didn't want the fields to display any particular selector choice and I wanted to enable a means for the visitor to search any product page featured image and title or it's content. I just added another option title to display "Any" by default and later realized that in itself would not be enough.
I have read all articles and tutorials in an attempt to complete this development with your support, I have learned and accomplished. However, custom search is primarily what brought me to Toolset.
1. The form that I created is not returning results, correctly if at all.
2. It was implied that the forms would "look good out of the box" even without Bootstrap but this isn't so.
3. The default search page is far too slow in loading. So slow, no one would bother to wait for the return to load.
However, at the very least, I need the form to return results and the query results need to load quicker or this entire effort it was a waste. The continuous exchange of links has (to articles and tutorials that some are outdated and some have errors) have me confused.
The search form and function is the last major issue to resolve before I can launch this project. I ask for a little guidance specific to my case.
Thank you.
New threads created by Christian Cox and linked to this one are listed below:
In an effort to better organize the filters, I added a default "Any" or "All" field holder so that no specific field option would be selected by default leader the user to either select or display all applicable results.
Where can I see this on your site? I checked the 3 Views but I don't find anything related to "any" or "all", so I'm still confused.
I am trying different things to try to resolve this by following the documents and tutorials. One of these tutorials indicated the there was a default entry for "Select" As a result, I changed the text to "Select" in the SIngle Product List Entry view which is the view that I created the form filters for.
The Single Product List Entry is a summary display (designed as s thumbnail) and link to the detailed product page and would be a single result listed in the results of a search.
I have not been able to locate a single complete tutorial anywhere close to my application. If you feel I have done something incorrectly, please advise.
If the field is defaulted to "Any" or "All" will this necessarily deliver every applicable file or would it deliver nothing?
If the default option is selected, every applicable file will be included in the results.
1. The form that I created is not returning results, correctly if at all.
It's not necessary to add a default option manually in custom select fields. This is the main problem causing the filters not to work here. Instead, when you insert the filters in the Search and Pagination panel, you will be shown a popup where you can set the text for the default option (see default.png). Then the default option is handled automatically by the filtering system. The way you have it set up now, you would have to choose the "Select" option in all posts for them to appear in the results when the "Select" filter is chosen. It's just extra work for yourself. So I have deleted the "Select" option from each custom field and updated your filters to display "Select" as the default option.
Please verify the filters work as expected now.
Let's keep this ticket focused on the accuracy of filtered results. I have split your other two questions into separate tickets so we can discuss them in more detail.