Hello-
I have a custom post type called Company with a text field called RTN.
Let’s say one of the company’s RTN value is 012345.
The link we want to track is http://www.companyname.com/course/
I’d like to make the url be http://www.companyname.com/course?012345_guide.
How do I get the acf value and pass it into the url as a 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>