that might not work at the moment since the event location can be assigned to different events however you can use placeholder #_LOCATIONNEXTEVENTS under Events > Settings > Formatting > Maps > Location balloon format
As the help text for the [locations_map] shortcode clearly states:
“This accepts Location Related Placeholders.” You are using Event related placeholders.
Event Placeholder can only be used in the single maps using #_LOCATIONMAP.
You are right Patrick, that’s why I’m using the [events_map] shortcode, as I said.
Thank you angelo, that’s perfect.
[events_map] uses the same settings textarea as [locations_map]. Angelo gave you a Location related placeholder that is why it works!
Understood, it wasn’t that clear to me in the doc, thanks =)
To give you an idea of the differences between the two shortcodes… 😉
The major difference lies in the the search arguments you can use. (See: https://wp-events-plugin.com/documentation/event-search-attributes/) In [locations_map] the location is leading, while in [events_map] args for events can be used.
[events_map post_id=”10″] will show only event with ID 10, if a location is set.
[locations_map post_id=”10″] will show location ID 10 wether or not an event is planned there.
Since the output is a map with multiple markers, the location/position is leading for the output. Hence, only location related placeholders can be processed correctly. One marker/location can have several events attached to it. So Events Manager cannot know which #_EVENTNAME should be used. 😉
The #_LOCATIONMAP is quite different, as that will only display one marker for one specific event. 😀
Ok, thank you for the explanation 😉