WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] A map of all locations, and extra location fields. (4 posts)

  1. publicradio
    Member
    Posted 2 years ago #

    Hi, I'm using Events Manager for events, and MapPress to show locations. It's kind of a headache because all my locations in MapPress are also in Events Manager already.

    This is what I want to do: set either an attribute or custom field for locations. Let's say I want to specify whether a location is an arena, a club or a house. I want to specify all the clubs in the locations. Then I want to have a page that displays a google map with all my locations of that type, all the clubs.

    Additionally, I would like to add three custom, optional location fields: URL, eMail and phone.

    Is it possible? Thanks.

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    1. you can use shortcodes like [locations_map] as stated here http://wp-events-plugin.com/documentation/shortcodes/

    2. location fields, Settings > General > General Options > Enable location custom fields? Yes

  3. publicradio
    Member
    Posted 1 year ago #

    Thanks, I enabled both location attributes and custom fields. When I add the shortcode [locations_map type="club"] and set that for those locations, my map still shows all locations.

  4. agelonwl
    Member
    Posted 1 year ago #

    hi,

    if you can code php, you can create a new search attribute at http://wp-events-plugin.com/tutorials/creating-custom-event-search-attributes/

    using location filter:
    em_locations_get_default_search
    em_locations_get
    e.g. function my_em_cf_events_get($locations, $args){

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic