Images with translated captions
-
Hello,
We are using a custom block on our site, the custom block uses a field type “Image”.
We are also using the Polylang plugin for translations, and we are translating Media, so we can have translations of the image’s captions, descriptions, etc.
The issue we are having is that even thou we select the translated images in our custom block, they still show the “untranslated” caption. We would like to show the translated image with its translated caption.
In the block template we are using the tag
<?php block_field( 'work-image' ); ?>
.We searched the plugin’s documentation and forums, but we couldn’t find another tag for images, or any references on how to use translated images with custom blocks.
Is there a way that we can display the translated images, with the translated captions, in our custom blocks? Please advise.
Thank you in advance for your help. Kind regards : )
JP
The page I need help with: [log in to see the link]
- The topic ‘Images with translated captions’ is closed to new replies.