CMS Development

benbagley
Member

Create blog posts filter on hompage by category

Hi,

 

So as the title suggests I want to create a filter on the homepage so the user viewing the page can filter blog posts by category.

 

So let's say I have the following categories

 

ALL / INBOUND / BRANDING / TRENDS / OTHER

 

I want the user to be able to filter through but also need for the user to `show more` of that category as well.

 

I.e show first 12, click show more show 24 etc

 

I'm still new to HubSpot, so any help is appreciated

0 Upvotes
5 Replies 5
Anton
Recognized Expert

Create blog posts filter on hompage by category

Hi @benbagley,

alright. I'm on it. Hoping to get you a (first) working code by tommorow evening(23:00 CET)

 

regards

Anton

Anton Bujanowski Signature
0 Upvotes
benbagley
Member

Create blog posts filter on hompage by category

Created a solution using isotope. I'll post the code here when it's final for other people 🙂

Anton
Recognized Expert

Create blog posts filter on hompage by category

Hi @benbagley,

have you read this article? 

If the build-in solution shouldn't match your requirements you'll need to do a custom module(like this one).

 

 

regards,

Anton

Anton Bujanowski Signature
0 Upvotes
benbagley
Member

Create blog posts filter on hompage by category

Also you have a duplicate link there. Both links are the same.

0 Upvotes
benbagley
Member

Create blog posts filter on hompage by category

I'm looking to do a filter like this.

 

https://sleeknote.com/blog

0 Upvotes