[Resolved] Repeatable Image Field > Image Caption in PHP
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Hi there,
in the past I have used the code below to display the image galleries. I pulled the snippet from your support page and it works fine. This time I also need the image caption, I've already tried a few things but can't figure it out. Please help.
if (types_render_field( 'galerie') != ''){
echo '<div class="bildergallerie">';
Note: The custom code examples from our forum are shared to get you started in the right direction. You're welcome to adjust them as needed and for more personalized customization assistance, you can consider hiring a professional from our list of recommended contractors: https://toolset.com/contractors/
I already suspected that this only works via the attachment_post_id. But I had no idea how to go about it.
Thank you for the finished code, works great!
BG Steve
stefanP-4 confirmed that the issue was resolved on 2024-02-21 15:04:48.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.