WPML
ステータス
解決済み
報告対象
Advanced Custom Fields Multilingual 2.0.5
解決されたバージョン
Advanced Custom Fields Multilingual 2.1.0
関連するプラグイン/テーマ
Advanced Custom Fields (ACF)
トピックタグ
Compatibility

問題の概要

WYSIWYGフィールドを作成し、翻訳がある投稿への内部リンクをその中に追加した場合、フィールドを翻訳してもリンクは自動的に変換されません。そのため、翻訳された投稿内にデフォルト言語の投稿へのリンクが含まれることになります

回避策

WPML > 設定 > カスタム XML 設定に移動し、このコードを追加します:

<wpml-config>
  <custom-fields>
    <custom-field action="translate" translate_link_target="1" >tests_0_editor</custom-field>
  </custom-fields>
</wpml-config>

すべての既知の問題 →