Este usuario no tiene temas favoritos.
Temas de foro favoritos
Temas de foro creados
| Estado |
Tema
|
Asistente | Voces | Publicaciones | Actualidad |
|---|---|---|---|---|---|
|
My translated page brake css
Iniciado por: jobR
en: Soporte en español
Problem: add_action('init', function() {
// Hook location to output the global section
$location_hook = 'nectar_hook_global_section_footer';
add_action($location_hook, function() use ($location_hook) {
// Detect current language
$current_lang = apply_filters( 'wpml_current_language', null );
// Default section ID (Spanish)
$global_section_id = '24759-2';
// Use translated section ID for English
if ( $current_lang === 'en' ) {
$global_section_id = '26378';
}
// Default category ID (Spanish)
$category_id = 47;
// Use translated category ID for English
if ( $current_lang === 'en' ) {
$category_id = 156;
}
// Output the section only if we're on the correct category archive
if ( is_product_category( $category_id ) ) {
Nectar_Global_Sections_Render::get_instance()->output_global_section($global_section_id, $location_hook);
}
});
});However, if disabling the Code Snippets plugin resolves all issues, we suggest not using it and instead managing code through the Child Theme as shown above. 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. |
|
0 | 6 | hace 6 días | |
|
The woocommerce product slug base is not translating
Iniciado por: jobR en: Chat Support |
|
1 | 4 | hace 1 semana | |
|
I have cloned my site in local and I created a development account to use and try my website in stag…
Iniciado por: jobR en: Chat Support |
|
0 | 2 | hace 6 meses, 1 semana |