Filtering perch_content_custom() if content exists
Is there a way of filtering using
perch_content_custom to only display the results that have content within a
perch:content tag on another template?
I've got a
perch_content_custom region set up on the home page to show client testimonials taken from the main case study pages, but not all case studies include a testimonial so it's showing blank template if there is no content in the testimonials content field.
<perch:if exists="QuoteShort"> in the template but it is still showing a blank testimonial rather than filtering them out completely.
I suppose what I'm trying to archive is a combination of
<perch:if exists="">. Something like...
'filter' => 'QuoteShort', 'match' => 'contains some content', 'value' => 'true'
Want to reply to this thread?Login with Perch