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 |
|---|---|---|---|---|---|
|
Bricks Builder pages are not translated properly
Iniciado por: mirceaD
em: English Support
Problem: The client is experiencing issues with translating Bricks Builder pages using WPML. The main symptoms include improper translations and CSS/JS rendering issues on the translated pages. Solution: 1) Ensure a full site backup is performed. Additionally, add the following code to the functions.php file of your theme:
add_filter('get_post_metadata', 'wpml_compsupp7667_bricks_translate_template_conditions', 10, 4);
function wpml_compsupp7667_bricks_translate_template_conditions($value, $post_id, $key, $single) {
if ($key !== '_bricks_template_settings') {
return $value;
}
// Remove filter temporarily to avoid infinite loop
remove_filter('get_post_metadata', 'wpml_compsupp7667_bricks_translate_template_conditions', 10);
// Get all meta values
$raw_values = get_post_meta($post_id, $key, false);
// Add filter back
add_filter('get_post_metadata', 'wpml_compsupp7667_bricks_translate_template_conditions', 10, 4);
// If we have no values, return the original
if (empty($raw_values)) {
return $value;
}
// Process the array structure
foreach ($raw_values as &$settings) {
if (is_array($settings) && isset($settings['templateConditions'])) {
foreach ($settings['templateConditions'] as &$condition) {
if (!empty($condition['archiveTerms']) && is_array($condition['archiveTerms'])) {
foreach ($condition['archiveTerms'] as &$termString) {
if (strpos($termString, '::') !== false) {
list($taxonomy, $termId) = explode('::', $termString);
$translatedId = apply_filters('wpml_object_id', intval($termId), $taxonomy, true);
if ($translatedId) {
$termString = $taxonomy . '::' . $translatedId;
}
}
}
}
}
}
}
return $raw_values;
}
For further details on this issue, please refer to the following errata: Bricks theme template conditions not applied correctly in translated templates. 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. Please feel free to open a new support ticket for further assistance at WPML support forum. |
|
1 | 26 | 9 meses atrás | |
|
The cart page is not translated
Iniciado por: mirceaD em: English Support |
|
0 | 2 | 9 meses, 1 semana atrás | |
|
The translated pages are displaying broken or incorrect CSS styles
Iniciado por: mirceaD
em: English Support
Problem: The client was experiencing issues with broken CSS on their multilingual site pages using the Bricks theme. The CSS conflicts occurred because the Bricks theme custom fields were set as 'Don't translate', preventing styles and alignment preferences from being copied to secondary language pages. Solution: We resolved the issue by adjusting the WPML settings to ensure that the Bricks theme custom fields are copied to translations: 1) Navigate to WPML>>Settings>>Custom Fields Translation. We recommend clearing your site's caches after these changes. If the issue persists or if this solution becomes outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If necessary, do not hesitate to open a new support ticket at WPML support forum for further assistance. |
|
0 | 4 | 9 meses, 2 semanas atrás | |
|
Adding WPML broke my site
Iniciado por: mirceaD em: English Support |
|
2 | 2 | 2 anos, 2 meses atrás | |
|
the size variation does not show up for products when language is switched to Romanian
Iniciado por: mirceaD em: Chat Support |
|
1 | 2 |
2 anos, 8 meses atrás
|
|
|
Elementor PopUp Advanced Rules do not show properly in different language
Iniciado por: mirceaD em: English Support |
|
2 | 2 | 3 anos atrás | |
|
Cannot manually update WPML to latest version following WordPress 6.1 crash.
Iniciado por: mirceaD em: English Support |
|
2 | 3 | 3 anos, 2 meses atrás | |
|
Request exceeded the limit of 10 internal redirects
Iniciado por: mirceaD em: Chat Support |
|
1 | 2 |
3 anos, 10 meses atrás
|
|
|
WPML chat support ticket by mirceaD – 1646126572
Iniciado por: mirceaD em: Chat Support |
|
1 | 2 |
3 anos, 11 meses atrás
|
|
|
Currency Switcher not working properly on mobile
Iniciado por: mirceaD em: English Support |
1 | 2 | 3 anos, 11 meses atrás | ||
|
Language switcher in mobile is not working properly
Iniciado por: mirceaD em: Chat Support |
|
1 | 2 |
3 anos, 11 meses atrás
|