I accidentally managed to get buttons to do this but can’t do it for icons.
I discovered that if I add a button element and set the Custom Field to dynamically grab the URL field value, then the button would only display if a value existed. Unfortunately the icon element didn’t operate the same way. I’m about to post this query to Thrive Themes.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users