Home › Forums › Feature Requests › Custom field link type › Reply To: Custom field link type
You would need to build this functionality yourself.
Using the three fields you mentioned in your post you would create the HTML and link, I’m not exactly sure what you need to output from your explanation but something like
<a href="<?php the_field('affiliate'); ?>?var=<?php the_field('link'); ?>"><?php the_field('link_text'); ?></a>
I’m sure there would be more to it than that but the exact details would depend on exactly what you need to output.
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.