Shopify themes, liquid, logos, and UX
Hello,
I am currently working on customizing the blog section of my Shopify store and I need assistance with filtering blog articles that have an image.
I am using the following Liquid code to display a limited number of blog articles:
{%- for article in section.settings.blog.articles limit: section.settings.post_limit -%}
<!-- Code to display article -->
{%- endfor -
%}
What I would like to do is only display articles that have an image associated with them. Is it possible to filter blog articles by the presence of an image before looping through them?
I tried using the where or select filters, but I am not sure how to implement this properly. Any help or suggestions would be greatly appreciated!
Thank you in advance!
Yes, I would like you to help me. Thank you in advance.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025