- Status
- Resolved by author
- Resolved in
- Impeka Version 2.0.0
- Related plugin/theme
- Impeka
- 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.