Home › Forums › Add-ons › Gallery Field › Add external URL link for gallery images › Reply To: Add external URL link for gallery images
Well lookie there! It’s at least printing there now. Thank you!
BUT (and I’m assuming that this is because it’s almost 1:30am and I’ve been coding responsive html emails all day long…LOL) for the life of me I can’t get the URL to echo in the href. I’ve tried loads of different combinations. This is the most recent, and the last I’m trying before going to sleep – which probably means it’ll be painfully obvious what I’m doing wrong once I wake up in the morning…urgh.
<a href="<?php echo $images[$i]['link_url']; ?>" target="_blank">
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
ACF’s Repeater field is a versatile solution for repeating content in #WordPress.
— Advanced Custom Fields (@wp_acf) December 29, 2022
What’s your favorite use case for the Repeater field?
What’s the weirdest thing you’ve ever used it for?
Let us know!👇
© 2023 Advanced Custom Fields.
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.