ผู้ใช้นี้ไม่มีหัวข้อที่ชื่นชอบ.
หัวข้อฟอรัมที่ชื่นชอบ
หัวข้อฟอรัมที่สร้าง
| สถานะ |
หัวข้อ
|
ผู้สนับสนุน | เสียง | โพสต์ | ความใหม่ |
|---|---|---|---|---|---|
|
using cloudflare cache for the other language domains
เริ่มโดย: Ayelet Oz ใน: English Support |
|
0 | 2 | 2 months, 1 week มาแล้ว | |
|
Split: Theme settings not working after WPML update
เริ่มโดย: Ayelet Oz
ใน: English Support
Problem: post_name of a translated product, the permalink (URL) does not update to reflect the English version, even after trying to flush rewrite rules. function custom_wpml_set_duplicate_permalink($post_id) {<br /> if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) {<br /> return;<br /> }<br /> $is_duplicate = get_post_meta($post_id, '_wpml_duplicate', true);<br /> if (!$is_duplicate) {<br /> return;<br /> }<br /> $original_post_id = apply_filters('wpml_object_id', $post_id, get_post_type($post_id), false, wpml_get_default_language());<br /> if (!$original_post_id) {<br /> return;<br /> }<br /> $original_post = get_post($original_post_id);<br /> $original_slug = $original_post->post_name;<br /> if ($original_slug) {<br /> remove_action('save_post', 'custom_wpml_set_duplicate_permalink');<br /> wp_update_post(['ID' => $post_id, 'post_name' => $original_slug]);<br /> add_action('save_post', 'custom_wpml_set_duplicate_permalink');<br /> }<br />}<br />add_action('save_post', 'custom_wpml_set_duplicate_permalink');We also recommended testing this solution in a sandbox environment and recording the process using a tool like https://www.loom.com/ to better understand the issue. If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket for further assistance. |
|
0 | 5 | 10 months มาแล้ว | |
|
Theme settings not working after WPML update
เริ่มโดย: Ayelet Oz
ใน: English Support
Problem: If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket. |
|
0 | 13 | 10 months มาแล้ว | |
|
I updated WPML and now theme definitions in wp doesn’t work in secondary language
เริ่มโดย: Ayelet Oz ใน: English Support |
|
1 | 9 | 10 months, 1 week มาแล้ว |