דלג על ניווט

Resolved

Resolved in: 4.5.0

Overview of the issue

The Elementor Pro Gallery widget does not show translated image titles, captions, or descriptions on the site's front-end.

Workaround

This issue will be fixed in WPML 4.5 release. In the meantime, you can follow this workaround to get the issue fixed on your site.

  1. Please backup your website database and files.
  2. Go to wp-content/plugins/elementor-pro/modules/gallery/widgets/gallery.php
  3. Replace
     $attachment = get_post( $id ); 

    with

    $attachment = get_post( apply_filters( 'wpml_object_id', $id, 'attachment', true ) );

    as shown in this screenshot: