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

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

  • 1 year 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.