Didnt think of that 😛 Thnx! I will try it
I had the same question and I tried to add ‘rewrite’ => array( ‘slug’ => ‘agenda’ ), on line 705, but is still not working.
When I click on the agenda item it will go to the page were I want the event item to be, but it only shows me a broken page. But when I manually go to the old permalink of the event “www.site.nl/am_events/eventname”, it works.
So this solution does link me to a new permalink, but it doesn’t put my event there. How to fix this?