- 상태
- 개발자가 해결함
- 해결된 버전
- Unlimited Elements for Elementor 2.0
- 관련 플러그인/테마
- Unlimited Elements for Elementor
- 주제 태그
- Compatibility
문제 개요
WPML과 함께 Unlimited Elements for Elementor를 사용할 때 다음과 같은 문제가 발생할 수 있습니다. WPML 미디어 번역을 사용하여 번역한 이미지가 기본 사이트 언어로 표시될 수 있습니다. 이 문제는 주로 CoverFlow Carousel과 같은 이미지 위젯에서 발생합니다.
임시 해결 방법
진행하기 전에 전체 사이트 백업을 완료했는지 확인하세요.
- …/wp-content/plugins/unlimited-elements-for-elementor/provider/wpml_integrate.class.php 파일을 여세요.
- 156번째 줄을 찾으세요.
- 다음 코드를:
$alternateThumbID = apply_filters( 'wpml_object_id', $thumbID, 'attachment', false, self::$objWpmlSingleton->activeLanguage ); - 다음으로 교체하세요:
$current_lang = apply_filters( 'wpml_current_language', null ); $alternateThumbID = apply_filters( 'wpml_object_id', $thumbID, 'attachment', false, $current_lang );