Filter recent post by author?

Highlighted
Occasional Contributor

Hi,

I have a blog listing page set up but I am using

{% unless loop.first %}

to filter and display the first item differently. I've run into an issue and need to be able to filter this by author as well. Is this possible?

Reply
0 Upvotes
1 Reply 1
HubSpot Employee

Hi @lisaellington,

 

You should be able to filter your posts by blog author using the groupby filter and filtering by the blog_post_author attribute. Here is the documentation on this filter, which happens to use the blog_post_author example: http://designers.hubspot.com/docs/hubl/hubl-supported-filters#groupby

 

Rami 

Reply
0 Upvotes