Người dùng này không có chủ đề yêu thích.
Chủ đề diễn đàn yêu thích
Chủ đề diễn đàn đã được tạo
Trạng thái |
Đề tài
|
Người ủng hộ | Tiếng nói | Bài viết | Độ tươi |
---|---|---|---|---|---|
ACF fields order not respected in second language
Bắt đầu bởi: Sven
tRONG: 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 | 9 months, 2 weeks trước |