Skip Navigation

[Resolved] Adding map in template file

This support ticket is created 4 years, 9 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 18 replies, has 2 voices.

Last updated by CraigS3893 4 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#1513089

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Craig,

Great to hear that it's working now. If there are no further questions on this then you can go ahead and mark the ticket as resolved.

Thanks,
Shane

#1513131

Hi, Just one more question:

hidden link

I've made a custom icon, but this map shows posts from three categories (restaurants, cafes and shops) - is there a way to have a different icon for each?

#1513177

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Craig,

You will need to use our views conditional on a parameter that you can check and then change the map markers based on that.

Take a look at the link below for documentation on our conditional statements, specifically if you're using taxonomies.
https://toolset.com/documentation/user-guides/views/conditional-html-output-in-views/displaying-taxonomies-conditionally/#specific

Please let me know if this helps.

Thanks,
Shane

#1513217

Great, thanks for all your help.