Skip Navigation

[Resolved] Combine custom field “region” and show it on Google Map

This thread is resolved. Here is a description of the problem and solution.

Problem: I have a custom field called "region" that I would like to use as a Query Filter. Instead of only one region, I would like the View to include results from multiple regions.

Solution: Use the "in" comparison ("auf" in German) to specify multiple field values. The results will include any matching post.

Relevant Documentation:
https://toolset.com/documentation/user-guides/filtering-views-by-custom-fields/

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.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by TobiasS8611 6 years ago.

Assisted by: Christian Cox.

Author
Posts
#1161513
filter.jpg

Hello together,

I have custom fields with regions, f.e. "Mont Ventoux", "Luberon", "Aix / Avignon" etc.
The regions are in the custom field "wpcf-region".

Now I want to combine different regions to one bigger region. The filter rules in the view allow only one region field. (see attachment)

What can I do to combine this different regions?

#1162435
Screen Shot 2018-12-09 at 12.25.53 PM.png

Hi, can you use the "auf" comparison in this Query Filter? It will allow you to specify multiple values. See the attached screenshot for an example.

#1162754

My issue is resolved now. Thank you!