Questo utente non ha argomenti preferiti.
Argomenti preferiti del forum
Argomenti del forum creati
| Stato |
Argomento
|
Supporter | Voci | Post | Freschezza |
|---|---|---|---|---|---|
|
Elementor global form not showing translation
1
2
Iniziato da: leeC-2
in: 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 settimana, 4 giorno fa | |
|
Using language switcher as URL in a button
Iniziato da: leeC-2 in: Chat Support |
|
0 | 4 | 1 mese fa | |
|
Siteground Memcache stops my global forms from translating properly
Iniziato da: leeC-2 in: Chat Support |
|
1 | 2 | 1 mese, 2 settimana fa | |
|
Elementor form continues in original language
Iniziato da: leeC-2 in: Chat Support |
|
0 | 2 | 1 mese, 2 settimana fa | |
|
WPML tried to translate this page three times and failed. To get it fixed, contact
Iniziato da: leeC-2
in: 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 mese, 2 settimana fa | |
|
unable to translate phone number in elementor list
Iniziato da: leeC-2 in: Chat Support |
|
0 | 2 | 2 mese fa | |
|
500 error
Iniziato da: leeC-2 in: English Support |
|
1 | 3 |
2 anno fa
|
|
|
Menus are showing 2 times on translated content
Iniziato da: leeC-2 in: English Support |
2 | 2 | 2 anno, 7 mese fa | ||
|
Error with some tables in the database
Iniziato da: leeC-2 in: Chat Support |
|
1 | 2 |
2 anno, 7 mese fa
|
|
|
CookieYes – text is in the default language before accepting the cookies
Iniziato da: leeC-2 in: Chat Support |
|
1 | 2 |
2 anno, 8 mese fa
|
|
|
Sticky link not working in elementor buttons
Iniziato da: leeC-2 in: English Support |
|
2 | 4 | 3 anno, 1 mese fa | |
|
links behind the buttons are not translated
Iniziato da: leeC-2 in: Chat Support |
|
1 | 2 |
3 anno, 1 mese fa
|
|
|
Translations via file
Iniziato da: leeC-2 in: Chat Support |
|
1 | 2 |
3 anno, 1 mese fa
|
|
|
Advanced Translation Editor won't load
Iniziato da: leeC-2 in: English Support |
|
2 | 2 | 3 anno, 2 mese fa | |
|
The property search result page loading time
Iniziato da: leeC-2 in: English Support |
2 | 3 | 3 anno, 5 mese fa |