Este usuário não tem tópicos favoritos.
Tópicos favoritos do fórum
Tópicos do fórum criados
| Status |
Tópico
|
Suporte | Vozes | Posts | Atualidade |
|---|---|---|---|---|---|
|
woocommmerce product fields on change of default language
Iniciado por: filipposD em: English Support |
|
0 | 5 | 4 meses atrás | |
|
Video is not added to single product
Iniciado por: filipposD
em: 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 | 4 meses, 3 semanas atrás | |
|
elementor popup is not translated
Iniciado por: filipposD
em: 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 | 4 meses, 3 semanas atrás | |
|
elementor mega menu does not open on translated language
Iniciado por: filipposD em: Chat Support |
|
0 | 2 | 5 meses, 1 semana atrás | |
|
test for debug info
Iniciado por: filipposD em: Chat Support |
|
1 | 1 |
6 meses atrás
|
|
|
elementor popup is not translated
Iniciado por: filipposD em: Chat Support |
|
1 | 2 | 6 meses atrás | |
|
translation in elementor popup is not applied.
Iniciado por: filipposD em: Chat Support |
|
1 | 2 | 6 meses atrás | |
|
elementor auto geenrated css in not correct
Iniciado por: filipposD em: English Support |
1 | 4 | 6 meses atrás | ||
|
Header is different on translated language
Iniciado por: filipposD em: Chat Support |
|
0 | 2 | 9 meses, 1 semana atrás | |
|
Header CSS Broke
Iniciado por: filipposD em: English Support |
|
0 | 5 | 10 meses, 3 semanas atrás | |
|
cant see translate myself as admin
Iniciado por: filipposD em: Chat Support |
|
1 | 2 |
1 ano, 3 meses atrás
|
|
|
elementor html block translation
Iniciado por: filipposD em: Chat Support |
|
1 | 2 |
1 ano, 3 meses atrás
|
|
|
jetengine custom post types meta field translation
Iniciado por: filipposD
em: 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 | 1 ano, 3 meses atrás |