kevinS-30
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Over the weekend -all sites ( including clones and backups ) failed
Started by: kevinS-30 in: Toolset Professional Support |
2 | 2 | 3 years ago | ||
Different map marker for each of the terms within a taxonomy on map view
Started by: kevinS-30
in: Toolset Professional Support
Problem: I have a map with markers coming from a View. Each post displayed in the View will have one term assigned from a custom taxonomy. Depending on the assigned term, I would like to display a different marker icon on the map. Solution: To use custom icons like this based on a taxonomy term, you cannot create the Markers using the configurations available in the Map block. Those Map block side configurations only allow for one icon to be used for all markers. Instead, you'll need to remove all Marker configurations from the Map block and insert a series of conditionals and Marker shortcodes in the View loop block. In a simple scenario there would be one conditional section for each different Marker icon. Here is a simple conditional section you can use as a template: <!-- day-service icon --> [wpv-conditional if="(has_term('day-service', 'service-type', null) eq '1')"] [wpv-map-marker map_id="map-18" marker_icon="day-service-icon.svg" marker_id='marker-18-[wpv-post-id]' marker_field="wpcf-address"] [wpv-post-link] [/wpv-map-marker] [/wpv-conditional] <!-- other-service icon --> [wpv-conditional if="(has_term('other-service', 'service-type', null) eq '1')"] [wpv-map-marker map_id="map-18" marker_icon="other-service-icon.svg" marker_id='marker-18-[wpv-post-id]' marker_field="wpcf-address"] [wpv-post-link] [/wpv-map-marker] [/wpv-conditional] <!--additional conditional section for each icons should follow here --> Since this code uses the WordPress function has_term in a conditional clause, you must register has_term in Toolset > Settings > Front-end Content, in Functions inside conditional evaluations. Relevant Documentation: |
2 | 10 | 3 years, 2 months ago | ||
Images not displaying in gallery within post – Divi and Toolest
Started by: kevinS-30 in: Toolset Professional Support |
2 | 10 | 3 years, 2 months ago | ||
Need to place widget javascript code in a field in the post editor & display FE
Started by: kevinS-30 in: Toolset Professional Support |
3 | 6 | 3 years, 3 months ago | ||
On updating toolest plugins on this site – site gave a critical error
Started by: kevinS-30 in: Toolset Professional Support |
2 | 2 | 3 years, 5 months ago |