We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
I need multiple filters for Events. I don't think this is possible yet, so I was going to try to do it myself using 'split-items' and then iterating. I can't seem to get 'split-items' to output as an array, though. I'm doing this:
$array = perch_events_custom([ 'sort'=>'eventDateTime', 'sort-order'=>'DESC', 'template'=>'events/event.html', 'split-items'=>true ]); echo '<pre>'; print_r($array); echo '</pre>';
But it's just outputting to the page as usual, as if 'split-items' wasn't even there. Then between <pre></pre> there is nothing. Am I doing this wrong?
Want to reply to this thread?Login with Perch