Forum

Thread tagged as: Question, Configuration, Blog

Blog Category Filters

Hi,

Is is possible to filter out multiple categories from the list. with either an array for the value or with multiple filters.

tried this but no joy, any pointers would be great.


perch_blog_categories(array( 'template' => 'category_listings.html', 'filter' => array ( array ( 'filter' => 'categorySlug', 'match' => 'neq', 'value' => 'age', ), array ( 'filter' => 'categorySlug', 'match' => 'neq', 'value' => 'cost', ), ) ));
Steve Forbes

Steve Forbes 0 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

As far as I can see that should work. How is it failing?

all sorted, the failing was a slug typo. but your message was reassurance after a lot of head scratching.