Skip Navigation

[Resolved] Custom Marker for each category (Taxonomy)

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

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 3 years, 10 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
- 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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by sabrinaP 3 years, 10 months ago.

Assisted by: Minesh.

Author
Posts
#2329245

Tell us what you are trying to do?
We want on the following page: hidden link

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?
hidden link

#2329263

Minesh
Supporter

Languages: English (English )

Timezone: 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

Languages: English (English )

Timezone: 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

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Could you please check now: hidden link

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

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: hidden link

#2329297

My issue is resolved now. Thank you!