Viewing 5 replies - 1 through 5 (of 5 total)
  • computerslayer1

    (@computerslayer1)

    I was looking for a way to do this as well. I downloaded version 1.9.2.

    takuya

    (@takuya)

    My event post url looks like:
    example.com/event/eventpostid
    example.com/events is my calendar page.

    This is something you can do with 1.9
    But I don’t know how to change all URLs containing ai1ec_event.

    computerslayer1

    (@computerslayer1)

    I figured it out.

    Find this file:
    \wp-content\plugins\all-in-one-event-calendar\app\helper\class-ai1ec-app-helper.php

    Search the file for “slug”. (In version 1.9.2, it’s line 188)

    'rewrite' => array('slug' => 'ai1ec_event'),

    Simply change the array value to whatever you like, such as this:

    'rewrite' => array('slug' => 'event'),

    On another note, The Events Calendar Plugin allows you to change the slug within its settings without having to dig through code.

    https://www.ads-software.com/extend/plugins/the-events-calendar/

    Thread Starter wedideas

    (@wedideas)

    Wow thanks for the heads up on the Events Calendar Plugin computerslayer1. I’m finding the AI1EC really buggy and offering zero support so I think I’ll look at moving to that one. Luckily, we don;t have a huge amount of events listed yet.

    James

    computerslayer1

    (@computerslayer1)

    I’m finding the same thing.

    It has a lot of potential, but the javascript is awfully buggy. Not to mention it’s missing a number of obvious settings like this one.

    So, I’ve been looking at other options. I’d recommend searching for “top 10” lists on the web rather than attempting to dig through the wordpress plugin repository.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change the ai1ec_event in the URL’ is closed to new replies.