WPML
상태
개발자 대기 중
관련 플러그인/테마
Exclusive Addons Elementor
주제 태그
Compatibility

문제 개요

Exclusive Addons for Elementor 플러그인, 특히 Tabs 위젯을 사용할 때 프런트엔드에서 Elementor 템플릿이 번역된 상태로 표시되지 않는 문제가 발생할 수 있습니다.

임시 해결 방법

진행하기 전에 사이트를 전체 백업했는지 확인하세요.


  • …/wp-content/plugins/exclusive-addons-for-elementor/elements/tabs/tabs.php 파일을 여세요.

  • 1259번째 줄을 찾으세요.

  • 다음 코드를:
    <?php echo Plugin::$instance->frontend->get_builder_content_for_display( wp_kses_post( $tab['exad_tab_content_save_template'] ) ); ?>

  • 다음과 같이 교체하세요.
    <?php 
    	// WPML Workaround for compsupp-6922
    	if (class_exists('Sitepress')) {
    		$post_type = get_post_type( $tab['exad_tab_content_save_template'] );
    		$tab['exad_tab_content_save_template'] = apply_filters( 'wpml_object_id', $tab['exad_tab_content_save_template'], $post_type, true );
    	}								
    	
    	echo Plugin::$instance->frontend->get_builder_content_for_display( wp_kses_post( $tab['exad_tab_content_save_template'] ) ); 
    ?>

알려진 모든 문제 →