Hi
I use Metabox to create custom fields for a custom post type “projects”.
One of the fields is URL-type, which is used to redirect to an external project-site.
I have created a button as a Block-Element and entered the custom-field-shortcode as the button-name. But since not all the “projects” have this field filled out, which would result in an “empty” button, which doesn’t look nice.
Is it possible to display this button on the frontend only when the custom-field is not empty?
Thank you in advance and kind regards,
Sascha