I am using Toolset and Divi. I am trying to show a row of social media icons with links drawn from Toolset custom fields. I only want to show social media icons that have the corresponding custom field in non-empty.
Solution:
In Toolset side, if the custom field is created with Toolset Types plugin, Types plugin will add prefix "wpcf-" before the field slug, for example, your custom field slug is "my-facebook" in Toolset setting, then in database, the field slug is actually "wpcf-my-facebook".