Hi guys, is there a way to add structured data for FAQs, or do we just need to include them under the blog article as a heading for the question with a short paragraph for the answer? Does Webflow allow us to add a special element/block for FAQs, similar to the Yoast SEO plugin?
Use an embed and write the JSON, which has some limitations since the CMS embed fields you place will be HTML-encoded rather than JSON-encoded.
Use Microdata. Webflow is more compatible with custom attributes. Not as pretty. Not as convenient. Not as componentized. But probably more robust in native Webflow.
Thanks, just like this, if I create a component and a blog CMS collection, will I be able to achieve what I want? The issue is that I will be adding different FAQs under each article, and using this method, I cannot achieve that because if I make a change in one place, other articles will be changed as well. Also, can I add schema for this component?
I think you just need to prototype it to understand how it’s built. Everything you’re describing can be done in native Webflow.
Components would not play much of a role here except perhaps as an individual FAQ item? Depends on how you engineer your FAQ UX.
I’d separate the Blog and FAQ collections, and then either multi-ref from blog to FAQs, or single-ref from FAQs to blogs. Depends on your needs and admin preferences.
Either way, the Microdata is just attributes bound to CMS fields, and elements arranged according to the spec.
Hi @suny007 , did you manage to implement this functionality. To be able to add unique FAQs to different articles. Very please help, I have the same need now and I have spent a lot of time searching for a solution to this problem.
Hey Ivan, the “easy” way is to create a separate FAQs collection, which as a ref to Article. You create your FAQs thee.
On your Article collection page you drop a collection list bound to that FAQs collection, and filtered to where “Article is current Article”.
A more complex way which requires some custom development, is to put all of the FAQ content into a rich text field, where the question is an H1. This would be bound to a rich text element, and your custom code would then parse that as a data-source to construct your FAQ elements.
@Ivan6 …hello… i created the separate CMS collection for FAQs and bind with the blog CMS…almost same as @memetican is telling to do in the reply…