Passer la navigation

[Résolu] Custom Marker for each category (Taxonomy)

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:
Custom Marker for each category (Taxonomy)

Solution:
To display different marker based on different taxonomy terms while using blocks, you will have to add conditional block and within conditional block you will have to add the "Fields and Text" block that should hold the marker shortcode.

You can find proposed solution in this case with the following reply:
https://toolset.com/forums/topic/custom-marker-for-each-categorie-taxonomy/#post-2329289

Relevant Documentation:
=> https://toolset.com/documentation/programmer-reference/maps/maps-shortcodes/#wpv-map-marker
=> https://toolset.com/course-lesson/using-toolset-conditional-block/

This support ticket is created Il y a 4 years, 2 months. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 4 réponses, a 2 voix.

Dernière mise à jour par sabrinaP Il y a 4 years, 2 months.

Assisté par: Minesh.

Auteur
Publications
#2329245

Tell us what you are trying to do?
We want on the following page: lien caché

Change the map markers by category.

Taxonomies are called:
Denkmalschutz (denkmalschutz)
Wohlfahrt (wohlfahrt)
Sportförderung (sportforderung)

Can you please help?
Is there any documentation that you are following?
https://toolset.com/forums/topic/different-map-markers/

Is there a similar example that we can see?

What is the link to your site?
lien caché

#2329263

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Are you using the block view to display the Map? if yes, then we will require to use workaround to display the different marker per term as there is no way to display different marker when you use block view.

If you can share admin access details, I can check and try to apply the workaround.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) 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.

#2329275

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Unfortunately, the admin access details you shared is not working at this end. Can you please send me working admin access details.

I have set the next reply to private which means only you and I have access to it.

#2329289

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Could you please check now: lien caché

I've edit your block view and added the conditional blocks to check the taxonomy term assigned to post:
=> lien caché

And I've added the marker shortcode using the "fields and text" block within the conditional block with different marker image. Please check the following screenshot: lien caché

#2329297

My issue is resolved now. Thank you!