문제 개요
BeTheme의 BeBuilder 라이브 에디터를 사용할 때 WPML의 고급 번역 에디터를 사용하여 번역한 콘텐츠는 성공적으로 번역되지만, 페이지의 디자인이 번역에 복사되지 않습니다.
임시 해결 방법
이 문제는 해결되었습니다. 최신 버전으로 업데이트하면 사이트에서 이 문제가 해결되므로, 아직 업데이트할 수 없는 경우에만 이 임시 해결 방법이 필요합니다.
진행하기 전에 사이트를 전체 백업하세요.
- …/wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php 파일을 여세요.
- 146번째 줄을 찾아 다음을:
$dir = wp_upload_dir()['basedir'] . $path; if( get_post_meta($this->post_id, 'mfn-page-local-style', true) && file_exists($dir) ){다음으로 바꾸세요:
$css_file_path = '/betheme/css/post-'. $this->post_id .'.css'; $dir = wp_upload_dir()['basedir'] . $css_file_path; if( get_post_meta($this->post_id, 'mfn-page-local-style', true) && file_exists($dir) ){