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!
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.
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() . ‘/’ .
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!
Author
Posts
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘Slug not working’ is closed to new replies.