WPML
الحالة
محلولة بواسطة المطور
تم حلها في
Salient 16.2.0
الإضافة/القالب ذو الصلة
Salient
وسوم الموضوع
Compatibility

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

إذا كنت تستخدم قالب Salient، فستلاحظ أن المحتوى الموجود داخل ودجات «Nectar Video Player» و«Badge» غير متاح للترجمة في محرر الترجمة المتقدم (ATE) من WPML.

حل بديل مؤقت

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


  • انتقل إلى صفحة WPML > إعدادات > تكوين XML مخصص.

  • أضف كود XML التالي لودجت Nectar Video Player:
    <wpml-config>
      <shortcodes>
        <shortcode>
            <tag>nectar_video_player_self_hosted</tag>
            <attributes>
                <attribute>video_mp4</attribute>
                <attribute>video_image</attribute>
            </attributes>
        </shortcode>
      </shortcodes>
    </wpml-config>
    <wpml-config>

  • أو هذا الكود لودجت Badge:
    <wpml-config>
      <shortcodes>
        <shortcode>
        	<tag>nectar_badge</tag>
          	<attributes>
          		<attribute>text</attribute>
            </attributes>
        </shortcode>
      </shortcodes>
    </wpml-config>

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