Forum

Thread tagged as: Question, Blog

Blog category set slug

Hello,

How can I output perch_blog_categories(); from only one category set?

Thanks, Mike

Mike Hendriks

Mike Hendriks 0 points

  • 2 years ago
Simon Clay

Simon Clay 127 points

Hi Mike, you would use the set argument:

perch_categories([
    'set' => 'my-category-set',
]);

Thank you, it works. I did try that before, but somehow I got it wrong.