Create a filter by dates on one hubspot blog's sidebar

Highlighted
Regular Contributor

Hi, is it possible create a filter by dates on one hubspot blog's sidebar? To separate the blog posts for months or years. Something like the better archive widget of wordpress (https://wordpress.org/plugins/better-archives-widget ). Also workarounds are welcome.

 

Thank you

Simone

Reply
0 Upvotes
1 Reply
Regular Advisor | Gold Partner | HubSpot Certified Trainer

@SimoneM - A high level workaround that I would use is to list out all the posts in the sidebar (you may have to use the rss feed since it gives you many more blog results than the HUBL Tag does) then, use jquery to sort them after the page has rendered. It would be difficult to give you specific code without seeing what you have already but, something like this SO post should start you off in the right direction


If this answer helped, please, mark as solved Smiley Very Happy


tim@belch.io | forms.belch.io | Design your own Beautiful HubSpot Forms; No coding necessary.

Reply
0 Upvotes