Home › Forums › General Issues › Adding Links To Images › Reply To: Adding Links To Images
insert a relationship field, or a page-link field inside your repeater.
and get the value of that field and wrap your image with that link.
easier is if you use page-link. because value will return the post’s url (permalink).
with relationship you have more options, because you are able to get any value from linked post (permalink, acf-fields, …) but it is not necessary to use it when you anyway only need the permalink.
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!
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.