- July 11, 2016 at 6:41 pm #9473
Thank you for your quick reply.
I did as you say.
I have 5 pages for people and I added custom fields.
The “Custom Fields connection Logic” is set to AND
Please have a look here, under the search form I added the details for the 5 pages.
The problem is that I want only
location + service
For example if I search for VAT services in Poole, Simon Anslow will not come up.
If I change to OR all people from Poole will come up.
I hope you understand what I mean. As you can see on the old site (http://www.francisclark.co.uk/)
if you select a service, the key markets and expertise fields are blocked.
I would be very grateful if you could help me as your plugin is really great.
Thank you very muchJuly 12, 2016 at 11:34 am #9476
Thanks for the details, it made my job much easier.
I have managed to find a decent solution for you. First, the custom field selectors support empty values. (link to the documentation) This is basically used to add an empty choice to the list, which the plugin ignores. I’ve added one extra option to the service, key market, expertise fields (“Select …” option). You can check that on the back-end of the plugin.
This solves the problem you described, as if the user selects location+expertise then the others are ignored. However he can still select the other ones. To resolve that problem, I have put together a custom script, which you should put to the footer.php file in your theme directory, before the closing body HTML tag:
This will make sure that if the user selects one from either service, key market or expertise – then the other two fields are reset to defaults (empty).Best,
If you like my products, don't forget to rate them on codecanyon :)
July 12, 2016 at 4:31 pm #9489
You are the best Ernest, I rarely come across with professionals like you.
Thanks a lot
All the best,
AngelJuly 12, 2016 at 4:33 pm #9490
The topic ‘Question’ is closed to new replies.