此用户没有收藏的主题。
收藏的论坛主题
创建的论坛主题
状态 |
主题
|
支持者 | 参与者 | 帖子 | 最新活动 |
---|---|---|---|---|---|
woocommmerce product fields on change of default language
发起人:filipposD 在:English Support |
|
0 | 5 | 1 weeks, 1 days前 | |
Video is not added to single product
发起人:filipposD
在: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 | 1 months前 | |
elementor popup is not translated
发起人:filipposD
在: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 | 1 months前 | |
elementor mega menu does not open on translated language
发起人:filipposD 在:Chat Support |
|
0 | 2 | 1 months, 1 weeks前 | |
test for debug info
发起人:filipposD 在:Chat Support |
|
1 | 1 |
2 months前
|
|
elementor popup is not translated
发起人:filipposD 在:Chat Support |
|
1 | 2 | 2 months前 | |
translation in elementor popup is not applied.
发起人:filipposD 在:Chat Support |
|
1 | 2 | 2 months前 | |
elementor auto geenrated css in not correct
发起人:filipposD 在:English Support |
1 | 4 | 2 months前 | ||
Header is different on translated language
发起人:filipposD 在:Chat Support |
|
0 | 2 | 5 months, 2 weeks前 | |
Header CSS Broke
发起人:filipposD 在:English Support |
|
0 | 5 | 7 months前 | |
cant see translate myself as admin
发起人:filipposD 在:Chat Support |
|
1 | 2 |
11 months, 1 weeks前
|
|
elementor html block translation
发起人:filipposD 在:Chat Support |
|
1 | 2 |
11 months, 2 weeks前
|
|
jetengine custom post types meta field translation
发起人:filipposD
在: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 months, 3 weeks前 |