Shopify themes, liquid, logos, and UX
For all other page templates it allows me to populate image fields with data from metafields but not when I create a blog post theme. Is this a limitation of shopify or am I doing something wrong? It only shows the "brand" related images like "cover image" etc.
Please help 🙂
Thanks!
Hello, it is not working for me either. As you mentioned, I could only get brand related assets. However, I was able to include it using a custom liquid section. Here is the code I used:
<img style="width:100%;" src={{ article.metafields.custom.image | img_url }}/>
The name of my blog post metafield is: image. You need to adjust the fields with your namespace and key metafield combination.
Also, the styling may or may not be appropriate depending on your image. Feel free to edit the CSS or contact me if you need more customization.
View from Theme Editor
Best,
Nico
Hi is this the only solution to this problem or has this been fixed?
I am trying to add a list of images to my blog post but the metafield I create does not come up on any sections that should be related...
If this is the only solution, where can I add this code?
Thanks!
Learn 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, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025