Custom code in blog listing page

Hi,
I want to add menu categories to my blog listing page. I found here: https://community.hubspot.com/t5/CMS-Development/Blog-list-page-as-tabs-with-categories-on-each-tab/m-p/305733?profile.language=en
that it can be done as custom code but I don’t know how I can add it to the page. Is it some special module?
Regards Paula

Hey @Paulawoj you can make it as a custom module or add it directly in the blog listing template. Personally, I prefer to create a custom module first then use that module inside the blog listing template.
You can check this link to learn more on how to fetch all the categories from a specific blog.

@felixmacaspac Thank you! this is very helpful, it works