I’ld like to have the year in the permalink, because almost all events will be happening again in 2014 and I don’t want them to be called “event-slug-2”.
I found this post http://wordpress.org/support/topic/plugin-events-manager-date-in-the-permalink?replies=11 but I don’t know how to modify it so it only will output events/yyyy/event-slug.
I think only these 2 lines need changing, but I don’t know what the correct syntax is. Can anyone help ?
$start_date = $object->event_start_date;
$start_date = str_replace('-', '/', $start_date);