WPML
Status
Resolved
Reported for
WPML Multilingual CMS 4.5.2
Resolved in
WPML Multilingual CMS 4.5.9
Related plugin/theme
Elementor

Overview of the issue

Currently it is not possible to display different Elementor templates per language. Despite the fact that you see the correct template selected on the backend, your site will always display last template saved on the front-end.

Workaround

Please, make a full backup of your site before proceeding.

  1. Open the /wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-cache.php file.
  2. Look for line 109.
  3. Update:
     'posts_per_page' => -1, 'post_type' => $post_types, 'fields' => 'ids', 'meta_key' => '_elementor_conditions', 
    With:
     'posts_per_page' => -1, 'post_type' => $post_types, 'fields' => 'ids', 'meta_key' => '_elementor_conditions', 'suppress_filters' => true //Here's the added line 
  4. Resave your templates.

All known issues →