{"id":7676517,"date":"2016-08-17T22:41:00","date_gmt":"2016-08-17T22:41:00","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/em_event_form-in-tabs-issue\/"},"modified":"2016-09-01T17:59:23","modified_gmt":"2016-09-01T17:59:23","slug":"em_event_form-in-tabs-issue","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/em_event_form-in-tabs-issue\/","title":{"rendered":"em_event_form() in tabs issue"},"content":{"rendered":"<p>Hi I want to use the em_event_form() in 2 tabs on the same single event page&#8230; 1 tab for editing and another tab to add a new event, the function works fine for the editing tab, it pulls up the information fine, but when I click on the new event tab (tab 2 ) it shows exactly the same as the editing tab which I totally understand why, but I just don&#8217;t know who to fix it&#8230; I have tried passing $args through the em_event_form() to make it add a new event but I cannot get it working anyone can help would be great, thanks<\/p>\n<p>example:<br \/>\nOn single event page &#8211; 2 tabs<br \/>\nem_event_form() Tab1 for editing<br \/>\nem_event_form() Tab2 for adding new event<\/p>\n<p>https:\/\/wordpress.org\/plugins\/events-manager\/<\/p>\n","protected":false},"template":"","class_list":["post-7676517","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7676517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7676517\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=7676517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}