このユーザーにはお気に入りのトピックがありません。
お気に入りのフォーラムトピック
作成したフォーラムトピック
| ステータス |
トピック
|
サポーター | 声 | 投稿 | 新着度 |
|---|---|---|---|---|---|
|
using cloudflare cache for the other language domains
開始者:Ayelet Oz カテゴリ:English Support |
|
0 | 2 | 2ヶ月、 1週前 | |
|
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ヶ月前 | |
|
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ヶ月前 | |
|
I updated WPML and now theme definitions in wp doesn’t work in secondary language
開始者:Ayelet Oz カテゴリ:English Support |
|
1 | 9 | 10ヶ月、 1週前 |