Title: [Plugin: Events Manager] Adding location   Adding Event
Last modified: August 20, 2016

---

# [Plugin: Events Manager] Adding location Adding Event

 *  [dellos](https://wordpress.org/support/users/dellos/)
 * (@dellos)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-adding-location-adding-event/)
 * I just wonder if there is possibility to Add the Add Event Button next to Events
   list’s and how to do it. Also is there a way to add location/choose location 
   be at the add event form not as another form ?? If someone is adding EVENT and
   the location isn’t there than the infos added to form after clicking add location
   is lost. This is stupid.
 * And why the map shows paces not events ??

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

 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-adding-location-adding-event/#post-2249907)
 * it would be the case of adding a link styled with CSS to the appropriate page.
 *  [buddyrhev](https://wordpress.org/support/users/buddyrhev/)
 * (@buddyrhev)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-adding-location-adding-event/#post-2249970)
 * [@dellos](https://wordpress.org/support/users/dellos/) – if have the same thing,
   but I figured out how to do it, but I think its messy in some way but it works
   fine. I just edit and merged the event-editor and location-editor under templates/
   forms/
 * I just copy the location form (don’t include the <form></form> tags just the 
   other location forms and remove the list options (for locations) in the event
   form and the google map inside the location form. I hope this is a big jump for
   you. 🙂
 *  [brigerard](https://wordpress.org/support/users/brigerard/)
 * (@brigerard)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-adding-location-adding-event/#post-2250088)
 * Hello,
    When creating an event, the location is created with a bad owner id. 
   My id is 3 and the location owner id is always 0.???
 *  [buddyrhev](https://wordpress.org/support/users/buddyrhev/)
 * (@buddyrhev)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-adding-location-adding-event/#post-2250089)
 * did you change anything in the code?
 *  [brigerard](https://wordpress.org/support/users/brigerard/)
 * (@brigerard)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-adding-location-adding-event/#post-2250092)
 * No,
    I admin, but my id is 3. In em-location.php (in classes), there is a test
   that forces the id to zero and I will remove it.
 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-adding-location-adding-event/#post-2250094)
 * editing EM core files might affect other functions.
    Are you using the latest
   version?
 *  [brigerard](https://wordpress.org/support/users/brigerard/)
 * (@brigerard)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-adding-location-adding-event/#post-2250095)
 * I use the latest version.
    The change works well
 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-adding-location-adding-event/#post-2250096)
 * that’s great then.
 *  [brigerard](https://wordpress.org/support/users/brigerard/)
 * (@brigerard)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-adding-location-adding-event/#post-2250097)
 * Yes, but again the change of version!
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-adding-location-adding-event/#post-2250099)
 * [@brigerard](https://wordpress.org/support/users/brigerard/) thanks for pointing
   out the bug. will look at this and fix on monday most probably (at least in the
   dev version).
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-adding-location-adding-event/#post-2250104)
 * updated in the dev version already
 * [@brigerard](https://wordpress.org/support/users/brigerard/), did the following:
 * changed
    `$this->owner = ( $this->owner > 0 ) ? $this->owner:0;`
 * to
    `$this->owner = ( $this->owner > 0 ) ? $this->owner:get_current_user_id();`
 * on line 127, did you do anything else?
 *  [brigerard](https://wordpress.org/support/users/brigerard/)
 * (@brigerard)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-adding-location-adding-event/#post-2250105)
 * Would it be possible to create an event without location?
    I put a location anywhere
   and I remove it from the list of locations below. Regards
 * Excuse my English, I use a translator!
 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-adding-location-adding-event/#post-2250107)
 * not possible at the moment.

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

The topic ‘[Plugin: Events Manager] Adding location Adding Event’ is closed to new
replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 13 replies
 * 5 participants
 * Last reply from: [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-adding-location-adding-event/#post-2250107)
 * Status: not resolved