דלג על ניווט

Open

Reported for: WPML Multilingual CMS 4.6.15

Topic Tags: Custom Work

Overview of the issue

When using JetEngine with WPML, translated components do not display correctly on the frontend. Although components appear translated in the backend, the frontend still shows the content in the default language.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Open …/wp-content/plugins/jet-engine/includes/components/listings/frontend.php file.
  • Look for line 293.
  • Just after:
    		public function get_listing_item_content( $listing_id ) {
    
  • Add this line:
    			$listing_id = apply_filters( 'wpml_object_id', $listing_id, 'jet-engine' );
    
    

השאר מענה

אנא הישארו בנושא והיו מכבדים לאחרים. אם אתה צריך עזרה בבעיות שאינן קשורות לפוסט הזה, השתמש בפורום התמיכה שלנו כדי להתחיל צ'אט או לשלוח כרטיס.

תוכל להשתמש בתגים הבאים:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>