jpmanson
Forum Replies Created
-
Forum: Plugins
In reply to: [Genesis Custom Blocks] Images with translated captionsThank you @ryankienstra !
Forum: Plugins
In reply to: [Genesis Custom Blocks] Images with translated captionsHello @ryankienstra thank you for your reply.
Could you point me to documentation so I can understand how Genesis Custom Blocks handles the field type Image please?
Perhaps I can use that and talk with the Polylang team.
Kind regards,
JP
Forum: Plugins
In reply to: [Genesis Custom Blocks] Images with translated captionsHi @ryankienstra thank you for your quick reply.
Polylang doesn’t duplicate the image file, it duplicates the entry in the database so you can translate the caption, name, description, etc. Here’s the documentation from Polylang: https://polylang.pro/doc/working-with-media/
In the Media Library you see two images: the original one and the translated one, but the image file itself is not duplicated.
When you want to include an image in a translated page, you only see the images translated for that language (the original image doesn’t appear as an option). So, when I want to select the image for our custom block I only see the translated image (that works fine). But when I see that image in the front the custom block displays the original image and not the translated one.
While I’m not an experienced programmer, I can try to make changes to the plugin if you send me some pointers. I can also do different tests if that will help, just let me know.
Thank you again for your time. Kind regards, JP
Forum: Plugins
In reply to: [Genesis Custom Blocks] Images with translated captionsHi @ryankienstra thank you for your reply.
I tried using
block_value('work-image')
and the result is the same. Even thou I selected the translated image, when I go to the front I see the image’s caption (and name, etc.) in its original language.Please let me know if there’s anything else we can try.
Thank you again for your help with this. Kind regards,
JP
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Formatting taxonomy items listThank you!
Hey nK, I’ll be also interested in this update.
In my case, all resources (CSS/JS) are correctly loaded in the item detail page: https://lobeid.ohlasser.com.ar/?post_type=portfolio&p=178
But they are not loaded in the index page whith the list of posts: https://lobeid.ohlasser.com.ar/
Is there a way to make sure the necessary resources are loaded in the index page?
Thank you in advance for your time.