WPML
סטטוס
ממתין למפתח
תוסף/ערכת עיצוב קשורים
Exclusive Addons Elementor
תגיות נושא
Compatibility

סקירה כללית של התקלה

כאשר אתה משתמש בתוסף 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'] ) ); 
    ?>

כל התקלות הידועות →