문제 개요
WPML과 함께 Ultimate Addons for WPBakery를 사용할 때 다음과 같은 문제가 발생할 수 있습니다. 번역된 페이지에서 애드온의 버튼 및 상자 링크가 기본 언어 페이지로 연결되고, 일부 텍스트(Video Banner 텍스트 및 Timeline Read More 텍스트)가 기본 언어로 유지됩니다.
임시 해결 방법
WPML설정으로 이동하여 사용자 정의 XML 구성에 다음을 추가하세요:
XML
<wpml-config>
<shortcodes>
<shortcode>
<tag>bsf-info-box</tag>
<attributes>
<attribute>title</attribute>
<attribute>read_text</attribute>
<attribute type="link" encoding="vc_link">link</attribute>
</attributes>
</shortcode>
<shortcode>
<tag>ultimate_video_banner</tag>
<attributes>
<attribute>video_banner_title</attribute>
<attribute>video_banner_content</attribute>
</attributes>
</shortcode>
<shortcode>
<tag>icon_timeline_item</tag>
<attributes>
<attribute>time_title</attribute>
<attribute>time_read_text</attribute>
<attribute type="link" encoding="vc_link">time_link</attribute>
</attributes>
</shortcode>
<shortcode>
<tag>ult_content_box</tag>
<attributes>
<attribute type="link" encoding="vc_link">link</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>그런 다음 페이지를 다시 번역하세요. 애드온의 다른 링크 속성에도 동일한 type="link" encoding="vc_link" 형식을 사용하세요.