Toolset Maps is a WordPress plugin that allows you to add address fields to any content type or users and display any content on Google Maps. Toolset Maps User Guides include detailed documentation for creating these special address fields, adding pointers to them and displaying them on maps. When you ask for help or report issues, make sure to tell us the versions of the Toolset plugins that you have installed and activated.
|Adding Short URL Field in Custom Post Type||2||1 day, 4 hours ago|
|Address field and site language||2||1 day, 5 hours ago|
|Rogue Pins Showing on Map||2||6 days, 12 hours ago|
Different map marker for each of the terms within a taxonomy on map view
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.
|2||1 week, 1 day ago|
|Adding Show on Map button 1 2||3||1 week, 5 days ago|
|Toolset View search result showing wrong data||2||2 weeks ago|
|Is there a way to add a marker without "click"||2||2 weeks, 1 day ago|
Issue on custom search form for distance
Problem: Custom placeholder HTML applied to a distance search filter is not displayed as expected after a recent Maps update.
Solution: Update to the latest version of Maps.
Relevant Documentation: https://toolset.com/errata/custom-placeholder-for-distance-filter-broken-with-maps-2-0-9/
|2||2 weeks, 6 days ago|
|Google map labels||2||3 weeks ago|
|Split: Over 500 posts (a single custom post type) but only 40 show up in view output. – map block is broken||2||3 weeks ago|
|Maps: focus on marker is not working as expected||2||3 weeks, 5 days ago|
|View & Map Integration appears broken in gutenberg editor||2||1 month ago|
|Previously working archive view returns "No items found" in front-end||2||1 month ago|
|Maps clustering not working as expected||2||1 month ago|
Can a CPT view accept a condition directly in Beaver Builder, e.g. type of book?
Problem: I would like to use shortcode attributes to pass arguments into a View's Query Filter.
Solution: You can configure taxonomy filters and custom field filters to respond to separate shortcode attributes, and add those shortcode attributes to the view shortcode.
|2||1 month, 1 week ago|