跳过导航

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' );
    
    

留下回复

紧扣主题并尊重他人。如果您需要帮助解决与本帖无关的问题,请使用我们的 Support Forum 开始聊天或提交票据。

您可以使用这些标签:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>