Skip Navigation

[Resolved] Map filters not loading correct filter items

This support ticket is created 5 years, 7 months 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

This topic contains 2 replies, has 2 voices.

Last updated by juanK 5 years, 7 months ago.

Assisted by: Nigel.

Author
Posts
#1354819

I am trying to: Use taxonomy filter to filter between map markers

Link to a page where the issue can be seen: hidden link

I expected to see: When selecting the taxonomies:

'South Africa' to show all results
Each town taxonomy to display only the selected town. (this will change to regions when the filter starts working)

Instead, I got: Filter displaying no data or just the one town.

#1355085

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi Juan

It isn't obvious what the problem is, but the underlying data and maps work fine, I can confirm.

You'll see I created a View called Nigel that I inserted on a page called Nigel which has the bare minimum and it works as expected.

Can you look at that, and then compare what you have created, you may be able to spot what is different between the two that causes yours not to work.

#1355187

Hi Nigel, thanks for the testing. I thought I was going crazy for a while!

I managed to get it working although I have no idea why my original placement of the map marker won't work.

Your code:
The map marker was put directly between the <wpv-loop>......</wpv-loop> tags. Which works.

My code:
The map marker was in the 'Loop Items In....' box which in my head does exactly what you did above: it places the code in between the loop tags.

Well I moved the markers to the top and now it works.

The logins are still active if you want to have a look but I am happy with the workaround.

Thanks for the help!