Home › Forums › Front-end Issues › Link field not working › Reply To: Link field not working
Hey guys.
I had the same issue and it seems that if you go to your Custom Forms and change the “Return Value” in your link field from “Link URL” to “Link Array” should do the trick.
Also, make sure that you change from this <?php echo esc_url($link_url); ?> to this <?php echo esc_url($link_url[‘url’]); ?>
The [‘url’] bit is important
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.