Forum
filter question, simple I hope!
Can I have more than one item in the 'value' filter below? If so what is the correct syntax? In this example I want to include items that are 'new' and 'seconds'
$result1 = count(perch_content_custom('Products', array(
'skip-template'=>true,
'page' => '/products-all.php',
'filter' => 'sale_item',
'match' => 'in',
'value'=>'new',
)));
It’s a comma separated list - so for your example:
’new,seconds’
So it is, thanks Duncan. I was having a senior moment ;)