So i have a gallery field setup with some images in them. I want those images to be links to other pages on my site.
I made a new custom field group called link to add a custom link field for my images in the edit screen. The custom field shows up and shows me the pages i can link to. So far so good. But for some reason the links to other pages don’t work and when i look into the source code it says <a href=""
I used the <?php the_field(‘link’); ?> code in my template but this is not working. I placed the code like this: