- 상태
- 해결됨
- 보고된 제품
- WPML Multilingual CMS 4.6.5
- 해결된 버전
- WPML Multilingual CMS 4.7.4
- 관련 플러그인/테마
- Elementor
- 주제 태그
- Compatibility
문제 개요
양식에 Elementor Pro의 Global 위젯을 사용할 때, 번역된 페이지에서 피드백 사용자 정의 메시지가 번역되지 않습니다.
임시 해결 방법
진행하기 전에 사이트의 전체 백업이 있는지 확인하세요.
- 테마의 functions.php 파일을 여세요.
- 다음 코드를 추가하세요:
add_filter( 'elementor/documents/get/post_id', function( $post_id ) { if ( 'elementor_library' === get_post_type( $post_id ) ) { $post_id = apply_filters( 'wpml_object_id', $post_id, 'elementor_library', true ); } return $post_id; } );