Viewing 5 replies - 16 through 20 (of 20 total)
  • Our test sites always use the latest version of WordPress.

    As I’ve mentioned above, this type of the permalink for recurring events isn’t supported by Events Manager.

    I have somewhat of a fix for this.

    Go to line 178 of plugins/events-manager/em-posts.php

    Change
    'rewrite' => array('slug' => 'event-recurring','with_front'=>false),

    to
    'rewrite' => array('slug' => 'events','with_front'=>false),

    As tal239 said:

    Recurring specific shortcode is still returning “events-recurring” instead of “events” slug prefix.

    This makes the slug for recurring events to be events. Somehow this makes it work to redirect to an event in the series. I haven’t verified that it chooses the most logical event (the one coming up).

    I think the real fix may be in classes/em-permalinks on line 61. I believe if it checks on that line if the current post type is event-recurring, then allows the redirect, it’d work. I don’t have time to figure this out though.

    By the way, I did save permalinks, I did disable all plugins except events manager, and I did switch to a default WP theme. Updated to latest WP and plugins as well. None of these fixed the issue.

    works! thanks burton-nerd!
    my circus client is happy!

    @burton-nerd

    done today. it’s work fine… don’t link to the very “first in the future” event of the recurrent but just to the first of the serie.

    And it’ll be overrided on next update, i suppose.

    Go to line 178 of plugins/events-manager/em-posts.php

    Change
    ‘rewrite’ => array(‘slug’ => ‘event-recurring’,’with_front’=>false),

    to
    ‘rewrite’ => array(‘slug’ => ‘events’,’with_front’=>false),

    don’t work anymore. Each time i save same setting in the events manager setting pages all the permalink redirect to the home page…

    I open a post here.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Recurring Events’ is closed to new replies.