WPML
الحالة
محلولة بواسطة المطور
تم حلها في
Unlimited Elements for Elementor 2.0
الإضافة/القالب ذو الصلة
Unlimited Elements for Elementor
وسوم الموضوع
Compatibility

نظرة عامة على المشكلة

عند استخدام Unlimited Elements for Elementor مع WPML، قد تواجه المشكلة التالية: قد تظهر الصور المترجمة باستخدام ترجمة الوسائط في WPML بلغة الموقع الافتراضية. يؤثر هذا عادةً على ودجات الصور مثل CoverFlow Carousel.

حل بديل مؤقت

يُرجى التأكد من أخذ نسخة احتياطية كاملة لموقعك قبل المتابعة.


  • افتح الملف …/wp-content/plugins/unlimited-elements-for-elementor/provider/wpml_integrate.class.php.

  • ابحث عن السطر 156.

  • استبدل:
    $alternateThumbID = apply_filters( 'wpml_object_id', $thumbID, 'attachment', false, self::$objWpmlSingleton->activeLanguage );
            


  • بـ:
    $current_lang = apply_filters( 'wpml_current_language', null );
    $alternateThumbID = apply_filters( 'wpml_object_id', $thumbID, 'attachment', false, $current_lang );
            

جميع المشاكل المعروفة →