How to add FAQ schema to my blog posts

How to add FAQ schema to my blog posts

Nuichan
Tourist
6 0 1

I would like to add the following structured data to my blog posts.

 

I tried copying the code into a meta field, but it doesn't seem to be working.

 

Below is the code which I used.

 

Can anyone help me on this?  

 

Thanks!

 

<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [{
"@type": "Question",
"name": "Are maxi skirts suitable for all body types?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes! Maxi skirts are versatile and can flatter all body types. Choose styles that highlight your waist or create an A-line silhouette for the best fit."
}
},{
"@type": "Question",
"name": "Can I wear a maxi skirt in winter?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Absolutely! You can wear a maxi skirt in winter by layering it with tights or leggings underneath and pairing it with boots and a warm sweater or jacket."
}
},{
"@type": "Question",
"name": "How do I care for my maxi skirt?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Care instructions vary by fabric, but generally, it's best to wash your maxi skirt in cold water and hang it to dry to maintain its shape and colour."
}
},{
"@type": "Question",
"name": "Can I wear a maxi skirt to work?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes, maxi skirts can be appropriate for work! Choose a tailored or structured maxi skirt in a professional fabric, and pair it with a fitted blouse or blazer to maintain a polished look."
}
},{
"@type": "Question",
"name": "Are maxi skirts suitable for women over 40?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Absolutely! Women over 40 can wear maxi skirts. The key is to choose styles that flatter your body shape and pair them with fitted tops to create a balanced silhouette."
}
},{
"@type": "Question",
"name": "How can I wear a maxi skirt without looking frumpy?",
"acceptedAnswer": {
"@type": "Answer",
"text": "To avoid looking frumpy in a maxi skirt, opt for a fitted top to create shape, select a skirt with a flattering cut, and accessorise with stylish shoes and jewellery to elevate your outfit."
}
}]
}
</script>

Reply 1 (1)

Nuichan
Tourist
6 0 1

Never mind.  Found the answer.

I had the wrong Namespace and key when I added the new description.