このユーザーにはお気に入りのトピックがありません。
お気に入りのフォーラムトピック
作成したフォーラムトピック
| ステータス |
トピック
|
サポーター | 声 | 投稿 | 新着度 |
|---|---|---|---|---|---|
|
Elementor global form not showing translation
1
2
開始者:leeC-2
カテゴリ:English Support
Problem: // === WPML not translating contact forms FIX ===
if ( ! is_admin() ) {
add_filter( 'get_post_metadata', 'wpmlpb_735_translate_elementor_data', 10, 4 );
}
function wpmlpb_735_translate_elementor_data( $value, $object_id, $meta_key, $single ) {
// Only act on Elementor data
if ( '_elementor_data' !== $meta_key ) {
return $value;
}
// Temporarily remove this filter to avoid infinite recursion
remove_filter( 'get_post_metadata', 'wpmlpb_735_translate_elementor_data', 10 );
// Get the actual Elementor data
$elementor_data = get_post_meta( $object_id, '_elementor_data', $single );
// Re-add the filter
add_filter( 'get_post_metadata', 'wpmlpb_735_translate_elementor_data', 10, 4 );
// Process and convert dynamic elements if possible
if ( is_string( $elementor_data ) && ! empty( $elementor_data ) ) {
$data_array = json_decode( $elementor_data, true );
if ( is_array( $data_array ) && class_exists( '\WPML\PB\Elementor\Hooks\DynamicElements' ) ) {
$dynamic_elements = new \WPML\PB\Elementor\Hooks\DynamicElements();
$data_array = $dynamic_elements->convert( $data_array );
return json_encode( $data_array );
}
}
return $elementor_data;
}Test this solution on a staging site first. If you encounter any issues or need further assistance, please do not hesitate to contact us. Additionally, 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 this solution does not apply or is outdated, please open a new support ticket. |
|
2 | 26 | 1週前 | |
|
WPML tried to translate this page three times and failed. To get it fixed, contact
開始者:leeC-2
カテゴリ:English Support
Problem: Please note that this solution might be irrelevant if it's outdated or not applicable to your case. 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 the issue persists, please open a new support ticket at WPML support forum. |
|
1 | 7 | 1ヶ月、 2週前 | |
|
500 error
開始者:leeC-2 カテゴリ:English Support |
|
1 | 3 |
2年前
|
|
|
Menus are showing 2 times on translated content
開始者:leeC-2 カテゴリ:English Support |
2 | 2 | 2年、 7ヶ月前 | ||
|
Sticky link not working in elementor buttons
開始者:leeC-2 カテゴリ:English Support |
|
2 | 4 | 3年、 1ヶ月前 | |
|
Advanced Translation Editor won't load
開始者:leeC-2 カテゴリ:English Support |
|
2 | 2 | 3年、 1ヶ月前 | |
|
The property search result page loading time
開始者:leeC-2 カテゴリ:English Support |
2 | 3 | 3年、 5ヶ月前 | ||
|
Fatal error: Uncaught InvalidArgumentException: target should be an object with filter method or an array in
開始者:leeC-2 カテゴリ:English Support |
|
3 | 8 | 3年、 5ヶ月前 | |
|
posts from Elementor widget not showing on translated page
開始者:leeC-2 カテゴリ:English Support |
|
2 | 4 | 4年、 1ヶ月前 | |
|
All VC Composer fields still showing after switching to Elementor
開始者:leeC-2 カテゴリ:English Support |
2 | 3 | 4年、 7ヶ月前 | ||
|
site takes ages to refresh
開始者:leeC-2 カテゴリ:English Support |
2 | 5 |
4年、 10ヶ月前
leeC-2 |
||
|
Minerva KB search result not translated unless I am logged in.
開始者:leeC-2 カテゴリ:English Support |
|
2 | 9 | 4年、 11ヶ月前 |