此用户没有收藏的主题。
收藏的论坛主题
创建的论坛主题
| 状态 |
主题
|
支持人员 | 参与者 | 帖子 | 最新活动 |
|---|---|---|---|---|---|
|
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 | 5 days, 15 hours前 | |
|
Using language switcher as URL in a button
发起人:leeC-2 在:Chat Support |
|
0 | 4 | 3 weeks, 4 days前 | |
|
Siteground Memcache stops my global forms from translating properly
发起人:leeC-2 在:Chat Support |
|
1 | 2 | 1 months, 1 weeks前 | |
|
Elementor form continues in original language
发起人:leeC-2 在:Chat Support |
|
0 | 2 | 1 months, 1 weeks前 | |
|
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 months, 1 weeks前 | |
|
unable to translate phone number in elementor list
发起人:leeC-2 在:Chat Support |
|
0 | 2 | 1 months, 3 weeks前 | |
|
500 error
发起人:leeC-2 在:English Support |
|
1 | 3 |
2 years前
|
|
|
Menus are showing 2 times on translated content
发起人:leeC-2 在:English Support |
2 | 2 | 2 years, 7 months前 | ||
|
Error with some tables in the database
发起人:leeC-2 在:Chat Support |
|
1 | 2 |
2 years, 7 months前
|
|
|
CookieYes – text is in the default language before accepting the cookies
发起人:leeC-2 在:Chat Support |
|
1 | 2 |
2 years, 8 months前
|
|
|
Sticky link not working in elementor buttons
发起人:leeC-2 在:English Support |
|
2 | 4 | 3 years, 1 months前 | |
|
links behind the buttons are not translated
发起人:leeC-2 在:Chat Support |
|
1 | 2 |
3 years, 1 months前
|
|
|
Translations via file
发起人:leeC-2 在:Chat Support |
|
1 | 2 |
3 years, 1 months前
|
|
|
Advanced Translation Editor won't load
发起人:leeC-2 在:English Support |
|
2 | 2 | 3 years, 1 months前 | |
|
The property search result page loading time
发起人:leeC-2 在:English Support |
2 | 3 | 3 years, 5 months前 |