This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
| Status |
Topic
|
Supporter | Voices | Posts | Freshness |
|---|---|---|---|---|---|
|
Split: TutorLMS link not translated
Started by: sonishA in: English Support |
|
1 | 4 | 4 hours, 11 minutes ago | |
|
Translation text mixing and some strings not appearing for translation
Started by: sonishA in: English Support |
|
0 | 3 | 4 hours, 18 minutes ago | |
|
Split: String translation is mixing everything up
Started by: sonishA in: English Support |
|
0 | 2 | 4 hours, 27 minutes ago | |
|
Split: 3lines hamburger in the main nav menu is still in English
1
2
Started by: sonishA
in: 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 | 1 day, 8 hours ago | |
|
Configuration
Started by: sonishA
in: 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 | 6 days, 5 hours ago |