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?
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.
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.
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 🙂
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
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022