Join us March 21 for an AMA on planning your 2023 marketing budget with 2H Media co-owners, Matt and Aron

Structured Markup on Blog Posts

melissaayoung
New Member
3 0 0

Hi

 

I've added Structured Mark Up to my products but I want to add them to blog posts so I have a chance to rank for rich snippets on recipes, how to answers and lists etc. I'm comfortable creating the code but can anyone tell me where to add it for each individual article?

 

Thanks

 

Melissa

Replies 6 (6)
Josh_Uebergang
Shopify Expert
934 38 239

It depends what type of markup you are adding Melissa. If it's a recipe for example, you'd need to edit each blog post that has the recipe. Most stores will be able to edit their articles.liquid file or similar with the blog structured data.

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required): https://www.digitaldarts.com.au/google-shopping
melissaayoung
New Member
3 0 0
Hi, and thanks for the reply!

I'm trying to add info to articles. I can see where to edit the HTML of the content - is this where I put the STML code?

I know I can edit the code for the template but this would be the same for every article because it's the template, I need to edit the individual articles, and that's what's stumpping me.
Josh_Uebergang
Shopify Expert
934 38 239

Without knowing exactly what structured markup you're trying to do, yes, you can edit individual article's HTML content to insert your mark up there. Whether you could do it via a template in your theme is a different question pending what you're trying to accomplish.

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required): https://www.digitaldarts.com.au/google-shopping
melissaayoung
New Member
3 0 0

Hi Josh

 

Thanks for responding. I'm a Marketer rather than a techie so this is all very new to me. 

 

Basically I have a mix of blogs consisting of recipes, how to guides and news articles. I want to add the appropriate code to each to help them rank and show as rich snippets. When I look at an article in Shopify I can edit the 'content' HTML but I can't access the individual full code for the article.  I can get to the code for the template but this is applied to all articles.

 

Hopefully I'm explaining that OK 🙂

 

Cheers

 

Melissa

Josh_Uebergang
Shopify Expert
934 38 239

Am a marketer as well. You have access to the article by editing it so you can add the necessary markup to it. You don't need to edit the theme if you want recipe markup as the markup is done in-line (where the content is). It sounds like you may not have implemented any schema before. I suggest you read up and follow some tutorials. A Google one on recipes: https://developers.google.com/search/docs/data-types/recipe

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required): https://www.digitaldarts.com.au/google-shopping
patrickb
Shopify Expert
45 0 9

Hey Melissa!

Just in case you didn't find a solution for this, just wanted to drop a note mentioning my app Recipe Kit that solves this exact problem. It allows you to create great looking recipe cards (with a ton of cool features), as well as automatically generated and embedding the proper rich recipe snippet markup data for your recipe / blog post.

 

You can check out the app here: https://apps.shopify.com/recipe-kit

 

Recipe Kit - Easy, beautiful & SEO friendly recipe cards on your Shopify blog posts - https://apps.shopify.com/recipe-kit
Wait.li - Product Waiting Lists for Shopify - https://apps.shopify.com/product-waiting-lists