Questo utente non ha argomenti preferiti.
Argomenti del forum preferiti
Argomenti del forum creati
Stato |
Argomento
|
Sostenitore | Voci | Post | Freschezza |
---|---|---|---|---|---|
woocommmerce product fields on change of default language
Iniziato da: filipposD in: English Support |
|
0 | 5 | 3 giorno, 3 ora fa | |
Video is not added to single product
Iniziato da: filipposD
in: English Support
Problem: // WPML Workaround for compsupp-7477 add_filter('get_post_metadata', 'wpml_compsupp7477_filter_woodmart_wc_video_gallery', 10, 4); add_filter('woodmart_single_product_image_thumbnail_id', 'wpml_compsupp7477_translate_attachment_id', 10, 2); function wpml_compsupp7477_filter_woodmart_wc_video_gallery($null, $object_id, $meta_key, $single) { // Target the specific meta key if ($meta_key !== 'woodmart_wc_video_gallery') { return $null; } // Prevent recursion by temporarily removing the filter remove_filter('get_post_metadata', 'wpml_compsupp7477_filter_woodmart_wc_video_gallery', 10); // Fetch the original meta value $video_gallery = get_post_meta($object_id, $meta_key, false); // Re-add the filter add_filter('get_post_metadata', 'wpml_compsupp7477_filter_woodmart_wc_video_gallery', 10, 4); // Check if we actually got an array if (isset($video_gallery[0]) && is_array($video_gallery[0])) { foreach ($video_gallery[0] as $key => $value) { // Apply the WPML filter to each item (video settings array key) $translated_key = apply_filters('wpml_object_id', $key, 'post', true); $video_gallery[0][$translated_key] = $value; } } return $video_gallery; } function wpml_compsupp7477_translate_attachment_id($attachment_id, $product) { return apply_filters('wpml_object_id', $attachment_id, get_post_type($attachment_id), true); } Please ensure to backup your database before making any changes. If this solution does not resolve your issue or seems irrelevant due to being 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 further assistance is needed, please open a new support ticket at WPML support forum. |
|
1 | 8 | 3 settimana, 4 giorno fa | |
elementor popup is not translated
Iniziato da: filipposD
in: English Support
Problem: functions.php file of your theme using a code editor. /** * Convert the popup link in a column * Based on compsupp-7641 workaround */ add_filter( 'wpml_pb_elementor_widget_dynamic_id_converters', function( $converters ) { $isContainer = \WPML\FP\Relation::propEq( 'elType', 'column' ); $containerLinksLens = \WPML\FP\compose( \WPML\FP\Obj::lensProp( 'settings' ), \WPML\FP\Obj::lensPath( [ '__dynamic__', 'column_link' ] ) ); return array_merge( $converters, [ [ $isContainer, $containerLinksLens, 'popup', 'popup' ], ] ); } ); 4. Save the changes to the file. This code snippet should help ensure that the popup is displayed in the correct language. We contacted the authors of the Make Column Clickable Elementor plugin and asked them to add this fix to their files. https://wordpress.org/plugins/make-column-clickable-elementor/. |
|
0 | 10 | 3 settimana, 4 giorno fa | |
elementor mega menu does not open on translated language
Iniziato da: filipposD in: Chat Support |
|
0 | 2 | 1 mese fa | |
test for debug info
Iniziato da: filipposD in: Chat Support |
|
1 | 1 |
2 mese fa
|
|
elementor popup is not translated
Iniziato da: filipposD in: Chat Support |
|
1 | 2 | 2 mese fa | |
translation in elementor popup is not applied.
Iniziato da: filipposD in: Chat Support |
|
1 | 2 | 2 mese fa | |
elementor auto geenrated css in not correct
Iniziato da: filipposD in: English Support |
1 | 4 | 2 mese fa | ||
Header is different on translated language
Iniziato da: filipposD in: Chat Support |
|
0 | 2 | 5 mese, 1 settimana fa | |
Header CSS Broke
Iniziato da: filipposD in: English Support |
|
0 | 5 | 6 mese, 3 settimana fa | |
cant see translate myself as admin
Iniziato da: filipposD in: Chat Support |
|
1 | 2 |
11 mese, 1 settimana fa
|
|
elementor html block translation
Iniziato da: filipposD in: Chat Support |
|
1 | 2 |
11 mese, 1 settimana fa
|
|
jetengine custom post types meta field translation
Iniziato da: filipposD
in: English Support
Problem: If this solution does not resolve your issue or seems outdated, we 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. |
|
2 | 14 | 11 mese, 2 settimana fa |