Bỏ qua điều hướng

Open

Reported for: WPML Multilingual CMS 4.6.5

Topic Tags: Compatibility

Overview of the issue

When using Elementor Pro’s Global Widget for Forms, the feedback Custom Messages do not get translated in a translated page.

Workaround

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

  • Open /wp-content/plugins/elementor-pro/modules/forms/classes/ajax-handler.php file.
  • Look for line 88.
  • Replace:
    			$template = Plugin::elementor()->documents->get( $form['templateID'] );
    
  • With:
    			// WPML Workaround for compsupp-6944
    			$template = Plugin::elementor()->documents->get(apply_filters('wpml_object_id', $form['templateID'], 'elementor_library'));
    

Để lại câu trả lời

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.

Bạn có thể sử dụng các thẻ này:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>