• Resolved AJD

    (@ajd)


    I’m using the [locations_map] shortcode, but can’t figure out how to hide the locations that do not have upcoming events. The map lands up being full of markers that say: “No events in this location”

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter AJD

    (@ajd)

    Adding scope has helped, but there are still ‘no location’ pins.

    For example:

    [locations_map scope=”future” limit=”100″ country=”GB,IE,NL” width=”100%” height=”600px”]

    https://aametinternational.org/eft-training-courses-united-kingdom/

    I have used this shortcode, and don’t have any locations show up if they don’t have an associated event attached.
    [locations_map width=100% height=500 scope=”future”]
    Not sure what is different, or why yours still show.
    I just tested by adding a new location – didn’t appear on the map.

    Thread Starter AJD

    (@ajd)

    Interesting, the scope=”future” helped. It looks like a single event, near Brighton on the link I shared above, that isn’t working.

    Thread Starter AJD

    (@ajd)

    I just deleted that one location that was ignoring the scope=”future” which seems to be the best solution.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide Locations with No Events in [locations_map] list’ is closed to new replies.