WPML
상태
해결됨
해결된 버전
WCML 3.7.12

문제 개요

Genesis Connect for WooCommerce 플러그인은 ‘template_include’를 필터링하여 기본 WooCommerce 템플릿을 재정의할 수 있게 합니다. WPML Multilingual & Multicurrency for WooCommerce도 더 높은 우선순위로 ‘template_include’를 필터링합니다. 이로 인해 Genesis Connect에서 적용한 변경 사항이 반영되지 않습니다.

임시 해결 방법

WooCommerce Multilingual이 덮어쓰지 않도록 ‘template_include’ 필터링을 더 높은 우선순위로 대기열에 추가해야 합니다. functions.php 파일에 다음 작업을 추가하세요:

add_action( 'after_setup_theme', 'wpml_comp_1646', 100 );
function wpml_comp_1646(){
if ( has_filter( 'template_include', 'gencwooc_template_loader' ) ) {
remove_filter( 'template_include', 'gencwooc_template_loader', 20 );
add_filter( 'template_include', 'gencwooc_template_loader', 200 );
}
}

알려진 모든 문제 →