- 상태
- 개발자가 해결함
- 해결된 버전
- Blocksy 2.0.46
- 관련 플러그인/테마
- Blocksy
- 주제 태그
- Compatibility
문제 개요
Blocksy 테마와 Blocksy Companion 플러그인을 사용하는 경우, 사이트 언어가 아랍어로 설정되어 있을 때 대시보드 > 상품 페이지에서 상품 레이아웃이 깨져 보이고 올바르게 표시되지 않는 것을 확인할 수 있습니다.
임시 해결 방법
진행하기 전에 전체 사이트 백업을 완료했는지 확인하세요.
- …/wp-content/themes/blocksy/inc/classes/translations-manager.php 파일을 여세요.
- 279번 줄을 찾으세요.
- 다음을:
if ( function_exists('icl_get_languages') && defined('ICL_LANGUAGE_CODE') && isset(icl_get_languages()[ICL_LANGUAGE_CODE]) ) { return icl_get_languages()[ICL_LANGUAGE_CODE]['default_locale']; } - 다음으로 교체하세요:
if ( class_exists('Sitepress') ) { return apply_filters( 'wpml_current_language', NULL ); }