Cet utilisateur n'a aucun sujet favori.
Sujets de forum favoris
Sujets de forum créés
| Statut |
Sujet
|
Support | Voix | Messages | Fraîcheur |
|---|---|---|---|---|---|
|
Split: TutorLMS link not translated
1
2
3
4
Commencé par : sonishA dans : English Support |
|
1 | 47 | Il y a 17 heures et 1 minute | |
|
Translation text mixing and some strings not appearing for translation
Commencé par : sonishA dans : English Support |
|
0 | 6 | Il y a 3 semaines et 2 jours | |
|
Split: String translation is mixing everything up
Commencé par : sonishA dans : English Support |
|
0 | 2 | Il y a 3 semaines et 3 jours | |
|
Split: 3lines hamburger in the main nav menu is still in English
1
2
Commencé par : sonishA
dans : English Support
Problem: If the issue persists, we have implemented a custom code workaround. Add the following code to your functions.php file: add_filter( 'redux/options/kiddino_opt/option_value/kiddino_header_select_options', 'kiddino_translate_header_template_id' );<br /><br />function kiddino_translate_header_template_id( $value ) {<br /> if ( is_admin() ) {<br /> return $value;<br /> }<br /><br /> if ( ! empty( $value ) ) {<br /> $translated_id = apply_filters( 'wpml_object_id', $value, 'elementor_library', true );<br /><br /> if ( ! empty( $translated_id ) ) {<br /> return $translated_id;<br /> }<br /> }<br /><br /> return $value;<br />}<br /><br />add_action( 'wp', 'kiddino_fix_page_header_template_id' );<br /><br />function kiddino_fix_page_header_template_id() {<br /> if ( is_admin() ) {<br /> return;<br /> }<br /><br /> if ( ! is_singular() ) {<br /> return;<br /> }<br /><br /> $post_id = get_queried_object_id();<br /><br /> if ( empty( $post_id ) ) {<br /> return;<br /> }<br /><br /> $settings = get_post_meta( $post_id, '_elementor_page_settings', true );<br /><br /> if ( empty( $settings ) || ! is_array( $settings ) ) {<br /> return;<br /> }<br /><br /> if ( ! empty( $settings['kiddino_header_builder_option'] ) ) {<br /> $translated_id = apply_filters( 'wpml_object_id', $settings['kiddino_header_builder_option'], 'elementor_library', true );<br /><br /> if ( ! empty( $translated_id ) && $translated_id != $settings['kiddino_header_builder_option'] ) {<br /> $settings['kiddino_header_builder_option'] = $translated_id;<br /> update_post_meta( $post_id, '_elementor_page_settings', $settings );<br /> }<br /> }<br />}After adding the code, open the translated header template in Elementor and set the correct off-canvas (sidebar) template. This adjustment is necessary for each translated template. Please note that this solution might become irrelevant due to updates or may not apply to your specific 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 problem persists, please open a new support ticket. |
|
0 | 28 | Il y a 3 semaines et 5 jours | |
|
Configuration
Commencé par : sonishA
dans : English Support
Problem: Please note that this solution might be outdated or not applicable to your specific 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 problem persists, please open a new support ticket at WPML support forum. |
|
1 | 9 | Il y a 1 mois |