ข้ามการนำทาง

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>