How do re replicate this with code? How do we choose a blog to be placed under editor's pick? I don't think there is a function for that, do we use tag or something?
How to replicate the"Editor's pick" function in HubSpot's own official blog?
I'm not sure how HubSpot does it, but there are several ways you could go about doing this on your website.
I would say the easiest way is to add a "Post Filter" module to your blog sidebar that filters by tags and use a specific tag such as "Editors Pick" for blog posts that you want featured there.