WPML

ภาพรวมของปัญหา

เมื่อใช้งาน Ultimate Addons for WPBakery ร่วมกับ WPML คุณอาจพบปัญหาต่อไปนี้: ในหน้าที่แปลแล้ว ลิงก์ของปุ่มและกล่องของส่วนเสริมจะเปิดหน้าภาษาเริ่มต้น และข้อความบางส่วน (ข้อความ 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" เดียวกัน

ปัญหาที่ทราบแล้วทั้งหมด

ต้องการความช่วยเหลือเกี่ยวกับปัญหานี้หรือไม่

ถามคำถามถึงฝ่ายสนับสนุน และเราจะตรวจสอบเรื่องนี้ไปพร้อมกับคุณ