• Resolved th3bish0p

    (@th3bish0p)


    Hello,

    I’m using the shortcode events_map to display the map and I would like to show event informations in the map bubbles so I tried <strong>#_EVENTNAME</strong> - #_EVENTDATES but the markers are not replaced in the bubble.

    What am I doing wrong ?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    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.

    Thread Starter th3bish0p

    (@th3bish0p)

    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!

    Thread Starter th3bish0p

    (@th3bish0p)

    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. 😀

    Thread Starter th3bish0p

    (@th3bish0p)

    Ok, thank you for the explanation 😉

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Showing events on map’ is closed to new replies.