Field Conditional Logic
Version 2.1 of the Advanced Filter extension brought a new functionality called Field Conditional Logic.
This functionality is easier than using the [gvlogic] shortcode because it doesn't require any previous knowledge of the shortcode parameters, it's as simple as specifying the conditions for each field on the View editor.
How to use it
In this View, the cat named "Charlie" doesn't have a photo:
We'll now use Field Conditional Logic on the Cat Photo field to display a placeholder image when no photos are present:
Once the field configuration panel shows up, we specify the condition to only display the field if it's not empty. If it's empty, we'll display the placeholder image instead:
And here's our View now with a placeholder image for the cat named Charlie:
This functionality works for all field types, including Custom Content fields. You can also combine multiple clauses using our AND and OR operators: