Problem: If you're experiencing issues with HTML not rendering correctly in translated pages of ACF fields on your site, where HTML code is visible instead of being rendered as text, particularly when using the Divi theme. Solution: We recommend adding the following code to your theme's functions.php file and then re-translate the affected page:
// WPML workaround for compsupp-7001
add_filter('do_shortcode_tag', 'wpml_compsupp7001_decode_et_pb_button_text', 10, 4);
function wpml_compsupp7001_decode_et_pb_button_text($output, $tag, $attr, $m) {
if ( class_exists('Sitepress') && 'et_pb_accordion_item' === $tag && isset($attr['title'])) {
// Decode both the ampersand and the apostrophe
$output = html_entity_decode($output, ENT_QUOTES, 'UTF-8');
}
return $output;
}
This solution might be irrelevant if it's 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 the issue persists, please open a new support ticket.
Problem: You are using WordPress with Elementor and WPML, and after updating all plugins and WordPress to the latest versions, you are facing an issue where the links on images in your posts are not being translated, although the links on buttons are. You have tried using the Translate Link Targets function and re-saving the Permalinks page, but the problem persists. Solution: We have identified this issue and have documented it in our errata. Please visit the errata page for more details and the correct XML code to use: https://wpml.org/errata/elementor-image-widget-links-not-translating-correctly/. You should insert/add the XML code in WPML -> Settings -> Custom XML Configuration with the corrected code provided on the errata page, and then update your translations. This should resolve the issue with the image links not being translated.
If this solution does not apply to your case, or if it seems outdated, 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 in our forum for further assistance: WPML support forum.
Wir verwenden Cookies, um unsere Website und Dienste zu optimieren. Ihre Zustimmung erlaubt es uns, Daten wie das Durchsuchen der Website zu verarbeiten. Wenn Sie nicht zustimmen, können einige Funktionen beeinträchtigt werden.
Funktionell
Immer aktiv
Erforderlich für den Betrieb und die korrekte Kommunikation auf unserer Website.
Präferenzen
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistiken
Wir verwenden diese, um die Statistiken unserer Website zu analysieren. Die gesammelten Informationen sind völlig anonym. Der technische Speicher oder Zugriff, der ausschließlich zu anonymen statistischen Zwecken verwendet wird. Ohne eine Vorladung, die freiwillige Einhaltung durch Ihren Internetdienstanbieter oder zusätzliche Aufzeichnungen von Dritten können die zu diesem Zweck gespeicherten oder abgerufenen Informationen in der Regel nicht dazu verwendet werden, Sie zu identifizieren.
Marketing
Diese Cookies verfolgen Ihr Surfverhalten, um für Sie relevante Werbung anzuzeigen.