CMS Development

Paulawoj
Participant

Custom code in blog listing page

SOLVE

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/...
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

1 Accepted solution
felixmacaspac
Solution
Contributor

Custom code in blog listing page

SOLVE

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.

View solution in original post

0 Upvotes
2 Replies 2
felixmacaspac
Solution
Contributor

Custom code in blog listing page

SOLVE

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.

0 Upvotes
Paulawoj
Participant

Custom code in blog listing page

SOLVE

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