A user reported that in the form to add a new post some custom script is included to append an empty default select field option. But, if the same code is used in the post edit form, it doesn't show the field's saved value.
Solution:
Suggested some changes to the custom script, so that it doesn't change the selected option in the select field.
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".