Making a new filter link in blog


#1

Hi, I want to make one new filter link like Author, month and comments but I have no idea how to make it. This is the preview link: https://preview.hs-sites.com/_hcms/preview/template/multi?blog_listing=true&content_group_id=null&is_buffered_template_layout=true&portalId=3906991&tc_deviceCategory=undefined&template_layout_id=6913674046&updated=1546498031546

Here if you can see there is this trending column on the right hand side there I need to put blogs which are "trending" by the tag name. So I was thinking is there any way where we can make a filter link for trending blogs? So the blogs which have trending as a tag could be shown over there.


#3

Hi @Abhishek_Sharma, I think theCMS developer forum is really where you should be posting questions like this about the CMS, or you should be partnering with a freelancer. I'd try searching through that forum first (take a look a the share your work section too: https://community.hubspot.com/t5/Share-Your-Work/bd-p/designers_bestpractice) and then asking a question there, as there are a much higher concentration of developers that are familiar with the CMS that have built out complicated blog filters over in that forum.

To point you in the right direction, HubSpot doesn't have a HubL function that can do this out of the box, nor am I sure that this is entirely possible using HubL. You can check out this function here: https://designers.hubspot.com/en/docs/hubl/hubl-supported-functions#blog-popular-posts, but this just orders the posts.


#4

I'd also recommend joining our public CMS developer slack group, as there are a lot of active members there
: https://designers.hubspot.com/blog/learn-hubspot-cms-developer-discovery-kit