Skip Navigation

Open

Reported for: WPML Multilingual CMS 4.5.2

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.

6 Responses to “Elementor Pro - It's not possible to use different templates per language”

    • Thank you for your feedback. Please open a ticket on our support forum and one of our supporters will look into your case.

      • I have a problem with JetThemeCore and Elementor (not pro) on the template type (header and footer). The translations are taken into account but not the formatting… If I inspect the code, the tags and disappeared on the translated page, hence the formatting issues. How to solve the problem ?

        • Hello Maud,
          Your situation does not look related to the issue described in this errata. I recommend you to open a ticket in our support forum so we can investigate it better.
          Regards

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>