• Resolved calogero

    (@calogero)


    I’m creating a page with map and incoming events
    I used the following shortcode

    [events_map maps_type="ROADMAP" height="100px" width="100px"]
    [upcoming_events orderby=”event_start_date” order=”ASC”]

    I would like to apply some filter on the map, and in particular I would like to show only uncoming events and not the past ones.

    In the following page
    https://wp-eventmanager.com/knowledge-base/google-maps/

    I found the shortcode to insert a google map box

    [events_map maps_type="ROADMAP"height="100px"width="100px"categories="Comma separate slugs"event_types="Comma separate slugs"featured="false"cancelled="false"location="location name"keywords="search keywords"]

    It is not inclued any code to avoid to show past events.

    I opened a ticket. Official support wp-eventmanager advised to use
    [events_map maps_type="ROADMAP" height="100px" width="100px" events per_page=”12″ orderby=”event_start_date”] but it doen’t work.

    Has anyone else found a solution?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support jathinhelp

    (@jathinhelp)

    Hello,
    @calogero We’d like to inform you that you cannot customize the shortcodes you will be able to use only the default short codes and upon checking we found it was suggested to use [events per_page=”12″ orderby=”event_start_date”] not [events_map maps_type="ROADMAP" height="100px" width="100px" events per_page=”12″ orderby=”event_start_date”] and this will not work. So We’d like to inform you that you can only use the default shortcodes.


    Regards,
    WP Event Manager.

    Thread Starter calogero

    (@calogero)

    Thank you Jathin

    My issue is related to google map tha at the moment show all events (incoming and past ones)

    In the following page
    https://wp-eventmanager.com/knowledge-base/google-maps/

    I found the shortcode to insert a google map box

    [events_map maps_type="ROADMAP"height="100px"width="100px"categories="Comma separate slugs"event_types="Comma separate slugs"featured="false"cancelled="false"location="location name"keywords="search keywords"]

    This code works.
    There is a way to exclude past events from the map?

    Thanks a lot

    Calogero

    • This reply was modified 1 year, 10 months ago by calogero.
    Plugin Support jathinhelp

    (@jathinhelp)

    Hello,

    Please go to WP Event manager>> settings>> hide expired listings , also remember the event should have an expired date set only then the event will be hidden.



    Regards,
    WP Event Manager.

    Thread Starter calogero

    (@calogero)

    Thanks Jathin,
    I tried this way and it works.
    However, events that share the same location are shown in an order that is not chronological.

    To other users:
    In the “Google maps general setting”, “Google Mpas Searrch Form Settings” and in the “Google Maps Single Page Setting” there are not options to check about past or expired events.

    In the “event list” tab, the box “Hide expired listings in event archive/search.” must be cheked.

    Thanks,

    Calogero






Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Google Maps incoming Event’ is closed to new replies.