This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
ACF fields order not respected in second language
Started by: Sven
in: 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 months, 2 weeks ago |