Skip navigation

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>