Home Forums Event Espresso Premium Change slug

Change slug

Posted: November 29, 2018 at 7:44 am


November 29, 2018 at 7:44 am


As i understood, Event Espresso 4 is not supporting translation or any translation plugins.

Our website is multilingual (PolyLang). -> Greek -> English -> Russian

The events page url slug is by default
So it diverts the Events in Greek which is the primary language

How can we make in to be instead of ?

Since English is the most used language, we prefer to have it on the english domain instead of the Greek.

Thanks in advance


  • Support Staff

November 29, 2018 at 8:12 am


You could try adding this code to a custom functions plugin:

function ee_custom_events_slug( $slug, $post_type ) {
  if ( $post_type == 'espresso_events' ) {
    $custom_slug = array( 'slug' => 'en/events' );
    return $custom_slug;
  return $slug;

Then, after activating the plugin, you go to the WordPress > Settings > Permalinks page, which will flush the site’s rewrite rules.

You can add the above code to a functions plugin.

The support post ‘Change slug’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Josh 1 year, 10 months ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!