Slug not working

Home Forums Calendar Products Community Events Slug not working

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #920790
    GDPR20191021
    Participant

    Hi,
    I’m using WPML and when using “Events Calendar Pro” the slug “/en/events/” works fine. However using “Community Events” neither the slug “/en/events/community/add” nor “/events/community/add” works.
    Does anyone have a workaround to this problem?
    Thanks in advance!

    #920997
    Brian
    Keymaster

    Hello,

    Sorry for the issues you are having.

    There is rather significant conflicts between WPML and the Events Calendar we are starting a project early next year to make ours compatible with them, but it is a significant change to the coding to get there so we do not have a timelime for its release.

    So for now we do not have a solution for this issue.

    #922330
    GDPR20191021
    Participant

    Hi,

    I’ve found a solution to my problem. I did a change in the file:
    /wp-content/plugins/the-events-calendar-community-events/tribe-community-events/tribe-community-events.php
    In the function “addRoutes” at line ~389 for all lines like:
    ‘path’ => ‘^’ . $this->getCommunityRewriteSlug() . ‘/’ .
    I removed the ‘^’, so I have only:
    ‘path’ => $this->getCommunityRewriteSlug() . ‘/’ .

    Best regards.

    #922405
    Brian
    Keymaster

    I am glad to see you were able to fix this issue.

    Since the issue is resolved I am going to go ahead and close this ticket. If you have a similar issue or another in the future, please do not hesitate to create a new ticket.

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Slug not working’ is closed to new replies.