このユーザーにはお気に入りトピックがありません。
お気に入りのフォーラム・トピック
フォーラム・トピックの作成
状況 |
トピック
|
サポーター | 声 | 投稿文 | 新鮮さ |
---|---|---|---|---|---|
ACF fields order not respected in second language
によって始められた: Sven
にある: English Support
Problem: functions.php file: add_filter( 'acf/load_value/type=post_object', 'format_order' ); function format_order( $value ){ $lang = apply_filters( 'wpml_current_language', null ); foreach ($value as $key => $id) { $type = get_post_type($id); $value[$key] = apply_filters( 'wpml_object_id', $id, $type, true, $lang); } return $value; } Please note that this solution might be outdated or not applicable to your case. We highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket with us. |
|
2 | 5 | 10ヶ月、 2週前 |