Cet utilisateur n'a aucun sujet favori.
Sujets de forum favoris
Sujets de forum créés
| Statut |
Sujet
|
Support | Voix | Messages | Fraîcheur |
|---|---|---|---|---|---|
|
Elementor global form not showing translation
1
2
Commencé par : leeC-2
dans : 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 | Il y a 2 semaines et 3 jours | |
|
Using language switcher as URL in a button
Commencé par : leeC-2 dans : Chat Support |
|
0 | 4 | Il y a 1 mois et 1 semaine | |
|
Siteground Memcache stops my global forms from translating properly
Commencé par : leeC-2 dans : Chat Support |
|
1 | 2 | Il y a 1 mois et 3 semaines | |
|
Elementor form continues in original language
Commencé par : leeC-2 dans : Chat Support |
|
0 | 2 | Il y a 1 mois et 3 semaines | |
|
WPML tried to translate this page three times and failed. To get it fixed, contact
Commencé par : leeC-2
dans : 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 | Il y a 1 mois et 3 semaines | |
|
unable to translate phone number in elementor list
Commencé par : leeC-2 dans : Chat Support |
|
0 | 2 | Il y a 2 mois | |
|
500 error
Commencé par : leeC-2 dans : English Support |
|
1 | 3 |
Il y a 2 années
|
|
|
Menus are showing 2 times on translated content
Commencé par : leeC-2 dans : English Support |
2 | 2 | Il y a 2 années et 7 mois | ||
|
Error with some tables in the database
Commencé par : leeC-2 dans : Chat Support |
|
1 | 2 |
Il y a 2 années et 8 mois
|
|
|
CookieYes – text is in the default language before accepting the cookies
Commencé par : leeC-2 dans : Chat Support |
|
1 | 2 |
Il y a 2 années et 9 mois
|
|
|
Sticky link not working in elementor buttons
Commencé par : leeC-2 dans : English Support |
|
2 | 4 | Il y a 3 années et 1 mois | |
|
links behind the buttons are not translated
Commencé par : leeC-2 dans : Chat Support |
|
1 | 2 |
Il y a 3 années et 1 mois
|
|
|
Translations via file
Commencé par : leeC-2 dans : Chat Support |
|
1 | 2 |
Il y a 3 années et 1 mois
|
|
|
Advanced Translation Editor won't load
Commencé par : leeC-2 dans : English Support |
|
2 | 2 | Il y a 3 années et 2 mois | |
|
The property search result page loading time
Commencé par : leeC-2 dans : English Support |
2 | 3 | Il y a 3 années et 5 mois |