Skip Navigation

[Resolved] different Marker depebndeing on one custom field

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

Problem:

The issue here is that the user wanted to have different markers for his posts.

Solution:

In this case the user added the link to the marker in a customer field and then loaded it like this.

	
wp-content/uploads/2018/09/[wpv-post-field name='statutss'].png
This support ticket is created 6 years, 4 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 2 replies, has 2 voices.

Last updated by souhirB 6 years, 4 months ago.

Assisted by: Shane.

Author
Posts
#1105474

Tell us what you are trying to do?
I have posts with custom fields choice 1/ In progress 2/Finished
i want to show all posts in a map with one marker for pots in progress another marker for finished posts

Thank you

#1105573

Shane
Supporter

Languages: English (English )

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

Hi Souhir,

Thank you for contacting our support forum.

What you can do is to check their option by using our conditional shortcode.
https://toolset.com/documentation/user-guides/display-lists-of-posts-and-create-custom-searches/#display-content-conditionally

From there you can add a separate marker based on which condition is met.

Please let me know if this helps.

Thanks,

Shane

#1106923

Thank you
I used another solution
when choosing the marker

 wp-content/uploads/2018/09/[wpv-post-field name='statutss'].png 

the marker icon depend of the custom field