نظرة عامة على المشكلة
عند استخدام إضافة Exclusive Addons for Elementor، وخاصة ودجت Tabs، قد تواجه مشكلة حيث لا يُعرض قالب Elementor مترجماً في الواجهة الأمامية.
حل بديل مؤقت
يُرجى التأكد من أخذ نسخة احتياطية كاملة لموقعك قبل المتابعة.
- افتح الملف …/wp-content/plugins/exclusive-addons-for-elementor/elements/tabs/tabs.php.
- ابحث عن السطر 1259.
- استبدل:
<?php echo Plugin::$instance->frontend->get_builder_content_for_display( wp_kses_post( $tab['exad_tab_content_save_template'] ) ); ?>
- بـ:
<?php // WPML Workaround for compsupp-6922 if (class_exists('Sitepress')) { $post_type = get_post_type( $tab['exad_tab_content_save_template'] ); $tab['exad_tab_content_save_template'] = apply_filters( 'wpml_object_id', $tab['exad_tab_content_save_template'], $post_type, true ); } echo Plugin::$instance->frontend->get_builder_content_for_display( wp_kses_post( $tab['exad_tab_content_save_template'] ) ); ?>