Home › Forums › General Issues › Pass ACF value to URL parameter › Reply To: Pass ACF value to URL parameter
First of all you’d need to have a variable name set to a value in the url, I will assume “rtn” in this case
<a href="http://www.companyname.com/course/?rtn=<?php the_field('rtn'); ?>">Link Text Here</a>
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.