WPML

문제 개요

Avada 테마의 Fusion Builder 글로벌 요소가 포함된 글을 번역한 후, 콘텐츠가 번역된 언어 대신 기본 언어로 표시됩니다.

임시 해결 방법

wp-content/plugins/sitepress-multilingual-cms/compatibility/fusion_builder/ 폴더에 있는 wpml-compatibility-plugin-fusion-global-element-hooks.php 파일을 편집하고 다음 코드를 추가하세요:

add_filter(
	'the_content',
	[ $this, 'translate_global_element_ids' ],
	self::BEFORE_ADD_GLOBAL_ELEMENTS_PRIORITY
);
… 다음 코드 바로 뒤에 추가합니다:
public function add_hooks() {
	add_filter(
		'content_edit_pre',
		[ $this, 'translate_global_element_ids' ],
		self::BEFORE_ADD_GLOBAL_ELEMENTS_PRIORITY
	);

모든 알려진 문제