I’m afraid I don’t understand the current state of the link and how you want it to be. Could you please share the screenshot of it and let me know the result you expected?
If you want to add it as a link, you need to use the
a HTML tag like this:
<a href="<? echo get_field('net_members_stock_check_links'); ?>" >Link Title</a>
If you want to use a button, you can try the following code:
<button onclick="location.href='<? echo get_field('net_members_stock_check_links'); ?>'" type="button">Link Title</button>
This page should give you more idea about it: http://stackoverflow.com/questions/2906582/how-to-create-an-html-button-that-acts-like-a-link.
Because this is more related to HTML, kindly visit their community instead.
I hope this makes sense 🙂
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!
© 2023 Advanced Custom Fields.