kelle67
Well-known member
Hello,
We use articles to explain things to users.
This is maintained by us as well as some users.
These articles are all in a sub forum.
I spent several hours today trying to include a FAQ schema in an article.
The script needed:
needs to be included in the head of the page. I just can't get it to work. The problem is of course also that each article must have its own or on the article adapted script.
I have also tried with a widget that does not work either.
In case you don't know what I mean. You can read more about it here.
developers.google.com
Maybe someone has an idea?
We use articles to explain things to users.
This is maintained by us as well as some users.
These articles are all in a sub forum.
I spent several hours today trying to include a FAQ schema in an article.
The script needed:
Code:
<script type=application/ld+json>{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "Question 1",
"acceptedAnswer": {
"@type": "Answer",
"text": "Answer 1"
}
},
{
"@type": "Question",
"name": "Question 2",
"acceptedAnswer": {
"@type": "Answer",
"text": "Answer 2"
}
}
]
} </script>
needs to be included in the head of the page. I just can't get it to work. The problem is of course also that each article must have its own or on the article adapted script.
I have also tried with a widget that does not work either.
In case you don't know what I mean. You can read more about it here.

Mark Up FAQs with Structured Data | Google Search Central | Documentation | Google Developers
When you use FAQ structured data, you may help users discover information in a rich result. Learn about FAQ schema markup and see examples.

Maybe someone has an idea?