other
relatedTo with "and"
{% set proteins = entry.ingredients.foodGroup('protein').all() %}
{% set moreRecipes = craft.entries()
.section('recipes')
.relatedTo(['and'] | merge(proteins))
.all() %}
Was this helpful?
Similar Posts