Salta la navigazione

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

Lascia una risposta

Per favore rimani in argomento e sii rispettoso verso gli altri. Se hai bisogno di aiuto con problemi non correlati a questo post, usa il nostro Forum di Supporto per iniziare una chat o inviare un ticket.

Puoi usare questi tag:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>