I want to filter results on my page by the values of a custom field. The values are: easy, intermediate, advanced. However, my editors sometimes use mixed values and write something like: easy to intermediate, or intermediate/advanced.
I was hoping that I could set up the filter to 'using manually entered values', add the three main values, and use the 'like' comparison function, ensuring that when the user selects 'intermediate', the filter will find results marked as 'intermediate', but also as 'easy to intermediate' and 'intermediate/advanced'. I hoped it works like a 'contains' function which would pick all posts where the custom field contains the string 'intermediate'. This, however, doesn't work.
Hello. Thank you for contacting the Toolset support.
Can you please send me problem URL and admin access details and let me check if there is any possible workaround I can share.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Lets talk about the filters you added. You added the Difficulty custom field filter and you allowed the user to select multiple options.
How does that works? As you already want to search in multiple options.
Lets say user selected option Easy and Advance - you does that should work? or Do you actually want to offer user to select one option and convert it to single select dropdown?
Yes, I do want the user to be able to select multiple options in each filter. I don't think they'd be looking for 'easy' and 'advanced', but they will likely look for 'easy' and 'intermediate' or 'intermediate' and 'advanced'. If so, the filter should return all entries which contain at least one of the strings 'easy' or 'intermediate' in the Difficulty custom field.