[Plugin: Events Manager] add a "add new" button
-
Hey,
i’m looking for adding an “add new” button just before the full calendar.
In the calendar-full.php I added this code :
<p><?php echo '<a class="em-button button add-new-h2" href="' . em_add_get_params($_SERVER['REQUEST_URI'], array('action'=>'edit','scope'=>null,'status'=>null, 'event_id'=>null)).'">Add New</a>'; ?></p>
But when I click on the button it goes to http://www.mywebsite.com/my-page/?action=edit (and it doesn’t work…) instead of http://www.mywebsite.com/members/member-name/events/my-events/?action=edit
Anyone Can help me please ?
Thank youGreg
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Events Manager] add a "add new" button’ is closed to new replies.