跳过导航

Resolved by author

Resolved in: Impeka Version 2.0.0

Topic Tags: Compatibility

Overview of the issue

When using the Impeka theme integrated with the Impeka WPBakery Extension, translating images via WPML Media Translation plugin does not yield the expected results. Specifically, when an image is added using the Single image widget, it won’t displayed the translated image on the front-end-

Workaround

Please, make sure of having a full backup of your site before proceeding.

  • Go to WPML > Settings > Custom XML Configuration.
  • Add the following code:
    <wpml-config>
      <shortcodes>
        <shortcode>
          <tag>impeka_single_image</tag>
          <attributes>
            <attribute>custom_title</attribute>
            <attribute>custom_caption</attribute>
            <attribute encoding="vc_link" type="link">link</attribute>
            <attribute>video_link</attribute>
            <attribute type="media-ids">image</attribute>
            <attribute type="media-ids">retina_image</attribute>
          </attributes>
        </shortcode>
      </shortcodes>
    </wpml-config>
    
  • Add a small modification in your page and refresh its translation.

2 所有回复 给 “Impeka Theme - Translated Images does not appear on the front-end”

留下回复

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

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