Removing the custom content when the merge tag is empty

If you added a Custom Content field to your View and its content depends on a Merge Tag (relative to an entry's field), you probably would like to not show anything in case that entry's field is empty.

To enable this logic, you would need to adapt and paste the following code into your theme's functions.php file (see how):

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us