WPML

問題の概要

WPMLでParallaxを使用する場合、デフォルトではセクションとチームメンバーは翻訳不可であり、セクションを一覧表示するページの翻訳されたコピーにはセクションが表示されません。

回避策

  1. WPML設定カスタム XML 設定に移動し、以下のXMLを追加して保存します。
    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. セクション、セクションカテゴリー、およびそれらを一覧表示するページを翻訳します。

すべての既知の問題

この問題についてサポートが必要な場合

サポートのご質問をお寄せください。一緒に調査いたします。