WPML

Tổng quan về sự cố

Khi sử dụng Parallax với WPML, các phần và thành viên nhóm không thể dịch được theo mặc định, và bản sao đã dịch của một trang liệt kê các phần sẽ không hiển thị phần nào.

Giải pháp tạm thời

  1. Truy cập WPMLCài đặtCấu hình XML tùy chỉnh, thêm đoạn XML sau và lưu:
    XML
    <wpml-config>
      <custom-types>
        <custom-type translate="1">section</custom-type>
        <custom-type translate="1">team</custom-type>
      </custom-types>
      <taxonomies>
        <taxonomy translate="1">section-category</taxonomy>
        <taxonomy translate="1">team-category</taxonomy>
      </taxonomies>
      <custom-fields>
        <custom-field action="copy-once">section_query_category</custom-field>
        <custom-field action="copy-once">section_order</custom-field>
        <custom-field action="copy-once">section_orderby</custom-field>
        <custom-field action="copy-once">section_meta_key</custom-field>
        <custom-field action="copy-once">section_posts_per_page</custom-field>
        <custom-field action="copy-once">section_hide_title</custom-field>
        <custom-field action="copy-once">section_hide_subtitle</custom-field>
        <custom-field action="copy-once">section_feature_size_page</custom-field>
        <custom-field action="copy-once">section_parallax_effect</custom-field>
        <custom-field action="copy-once">section_type</custom-field>
        <custom-field action="copy-once">section_width</custom-field>
        <custom-field action="translate">team_title</custom-field>
      </custom-fields>
    </wpml-config>
  2. Dịch các section, các chuyên mục section và các trang liệt kê chúng.

Tất cả lỗi đã ghi nhận

Cần trợ giúp với vấn đề này?

Đặt một câu hỏi hỗ trợ và chúng tôi sẽ cùng bạn xem xét vấn đề này.