Quick answer: You can add FAQ schema in WordPress without a plugin in three ways: use the built-in FAQ block in the block editor (WordPress 6.5 and later outputs FAQPage schema automatically), paste a JSON-LD script into a Custom HTML block, or add a small code snippet to your theme that prints the schema on the page. The FAQ block is the easiest and the safest — the other two give you more control but need care with the code. Whichever method you use, validate the result in Google’s Rich Results Test before you publish.
FAQ schema is structured data that tells Google your page contains a question-and-answer section. When Google understands it, your page becomes eligible for FAQ rich results in search — and, in 2026, it also becomes much easier for AI answer engines to extract and cite your answers. FAQ schema is one of the cheapest SEO improvements on any WordPress site, and you do not need a plugin to add it. This guide shows you three ways, in order of difficulty.
What FAQ schema is (and why it matters in 2026)
FAQ schema is a piece of JSON-LD code — a format called FAQPage — that lists your questions and answers in a way machines can read without guessing. It looks like this:
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "How long does a technical SEO audit take?",
"acceptedAnswer": {
"@type": "Answer",
"text": "A full technical SEO audit of a small site usually takes 2–4 hours. Larger sites take a day or more."
}
}
]
}
Google reads this code and knows, with certainty, that the page contains a question and its answer. That matters for three reasons:
- Rich results. Pages with valid FAQ schema are eligible for FAQ rich results in Google Search — the expanded question-and-answer display that takes up more space on the results page and earns more clicks.
- AI citations. AI answer engines — ChatGPT, Perplexity, Google AI Overviews, Gemini — read structured data to understand your content faster. A page with FAQPage schema is easier to extract and easier to cite. See our AEO checklist and our guide on how AI search engines choose citations for the full picture.
- Clarity for Google. Even when no rich result shows, the schema removes ambiguity about what your page covers. Google’s November 2026 core update rewarded pages that answer questions clearly — and FAQ schema is the clearest signal you can send.
One honest warning: FAQ schema does not guarantee a rich result. Google decides when to show one, and since 2023 it shows FAQ rich results mainly for government and health sites in regular search. But the schema still helps AI engines and still helps Google understand your page — and the FAQ content itself is useful to readers either way. Add it for the structure and the AI visibility, not only for the rich result.
Before you start: write a real FAQ first
Schema is a label on real content, not a substitute for it. Before you touch any code, write a genuine FAQ section on the page:
- Use questions people actually ask. Check Google’s “People also ask” box, your support tickets, your sales calls and your Search Console queries. A FAQ made of questions nobody asks is invisible content.
- Answer directly. One paragraph of 40–60 words per answer, in plain language. If the answer needs more detail, put the summary first and the detail after it.
- Keep it to 4–8 questions. A FAQ with two questions looks thin. A FAQ with twenty looks like keyword stuffing. Four to eight well-chosen questions is the right range for most pages.
- Match the visible text. This is the golden rule of schema: the questions and answers in your schema must be identical to the questions and answers visible on the page. If they differ, Google treats the schema as misleading and may ignore it — or worse, flag the page.
Once the visible FAQ exists, pick one of the three methods below to add the schema.
Method 1: Use the WordPress FAQ block (easiest)
WordPress 6.5 and later includes a built-in FAQ block that outputs FAQPage schema automatically. If your site runs a recent WordPress version, this is the method to use — no code, no plugin, no risk of breaking anything.
Step 1: Add the block
In the block editor, click the + button and search for “FAQ” or “Details”. Add one FAQ block per question. Each block has a question field and an answer field.
Step 2: Fill in the question and answer
Type the question exactly as a user would ask it, and the answer exactly as it appears in your FAQ section. The text in the block is the visible text on the page — and it is also what the schema will contain. Keep the answer to one short paragraph where possible.
Step 3: Check the block settings
Some themes and block plugins add extra options (open by default, styling, icons). Leave the defaults unless you have a reason to change them. The important thing is that the question and answer are in the right fields — not typed into a paragraph block that happens to look like a FAQ.
Step 4: Publish and validate
Publish the page, then run it through Google’s Rich Results Test (search for it — it is a free Google tool). Enter the page URL, click “Test URL”, and check the results: you should see “FAQ” listed under detected structured data, with zero errors. If it does not appear, check that your theme does not strip the block’s output, and that you are on WordPress 6.5 or later.
When to use this method: almost always. It is the simplest, the safest, and the one Google understands best. Use Method 2 or 3 only if your theme or editor does not support the FAQ block, or if you need schema on a page where the FAQ block does not fit the design.
Method 2: Paste JSON-LD into a Custom HTML block
This method gives you full control over the schema, and it works on any WordPress version and any theme. You write the JSON-LD yourself and paste it into a Custom HTML block on the page.
Step 1: Write the JSON-LD
Build the script using the format shown at the top of this guide. One Question object per question, each with a name (the question) and an acceptedAnswer containing a text (the answer). The answer text must match the visible answer on the page — word for word, or as close as possible. Do not put HTML tags inside the answer text; use plain text only.
A complete example with two questions:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "How long does a technical SEO audit take?",
"acceptedAnswer": {
"@type": "Answer",
"text": "A full technical SEO audit of a small site usually takes 2–4 hours. Larger sites with thousands of pages take a day or more."
}
},
{
"@type": "Question",
"name": "Is FAQ schema a Google ranking factor?",
"acceptedAnswer": {
"@type": "Answer",
"text": "No. FAQ schema is not a ranking factor. It helps Google understand your page and makes it eligible for FAQ rich results and easier for AI engines to cite."
}
}
]
}
</script>
Step 2: Paste it into a Custom HTML block
In the block editor, add a Custom HTML block — at the bottom of the page is fine, since the script is invisible to readers. Paste the entire script, including the <script> tags, into the block.
Step 3: Check for syntax errors
JSON is strict. A missing comma, a missing quote or an extra bracket breaks the whole script. The most common mistakes:
- A comma after the last item in a list (there must be no trailing comma before a closing
]or}). - Straight quotes vs curly quotes — JSON needs straight double quotes (
"). Word processors and some editors replace them with curly quotes, which break the code. Paste from a plain-text editor, not from Word or Google Docs. - Unescaped quotes inside an answer — if your answer contains a double quote, escape it with a backslash (
\") or rephrase the sentence to avoid it.
Step 4: Validate
Publish the page and run it through Google’s Rich Results Test. It should show “FAQ” with zero errors. If the test reports an error, it will tell you the exact line — fix that line and test again.
When to use this method: when the FAQ block does not fit your design, when you want the schema on a page built with a page builder that does not support the block, or when you need to add FAQ schema to many pages and want to control the code exactly. It is also the method to use if your theme strips the FAQ block’s output.
Method 3: Add a code snippet to your theme
This method adds FAQ schema automatically to any page you choose, without editing each page. It is the most powerful option — and the one that needs the most care, because a mistake in theme code can break your site.
Step 1: Use a code-snippets plugin or a child theme
Never edit your theme’s files directly if you can avoid it — your changes will be lost on the next theme update. Use a code-snippets plugin (such as Code Snippets, which is a plugin for running code, not an SEO plugin) or add the code to a child theme’s functions.php. The code below is an example — adapt the questions and answers to your page.
Step 2: Add the snippet
A simple approach is to hook into wp_head and print the JSON-LD only on the pages that have a FAQ. Here is a minimal example that adds FAQ schema to a specific page (replace 123 with your page ID, and the questions with your own):
add_action('wp_head', function () {
if (!is_page(123)) {
return;
}
$faq = [
'@context' => 'https://schema.org',
'@type' => 'FAQPage',
'mainEntity' => [
[
'@type' => 'Question',
'name' => 'How long does a technical SEO audit take?',
'acceptedAnswer' => [
'@type' => 'Answer',
'text' => 'A full technical SEO audit of a small site usually takes 2–4 hours.',
],
],
],
];
echo '<script type="application/ld+json">' . wp_json_encode($faq) . '</script>';
});
Step 3: Test on a staging site first
If you have a staging copy of your site, test the snippet there before touching the live site. If you do not have staging, add the snippet, then immediately open the page and check it loads normally. A PHP error in functions.php can take the whole site down — so keep a backup and know how to remove the snippet quickly (via FTP or your host’s file manager) if something goes wrong.
Step 4: Validate
Run the page through Google’s Rich Results Test and confirm “FAQ” appears with zero errors. Then check the page in a normal browser to confirm the visible FAQ still looks right.
When to use this method: when you need FAQ schema on many pages with the same questions, when you want it added automatically without editing each page, or when you are comfortable with PHP. For a single page, Method 1 or 2 is faster and safer.
How to validate and monitor FAQ schema
Validation is not optional. Broken schema is worse than no schema, because it signals sloppy technical work to Google.
- Google’s Rich Results Test. Enter the page URL, click “Test URL”, and confirm “FAQ” is detected with zero errors. Fix every error it reports — the tool tells you the exact field and line.
- Schema.org validator. Paste the JSON-LD into the Schema.org validator for a second opinion. It catches issues Google’s tool sometimes misses.
- Search Console enhancements report. After a few days, check Google Search Console under Enhancements → FAQ (if it appears). It shows how many of your pages have valid FAQ schema and flags any that developed errors after publishing.
- Re-check after every edit. If you change a question or answer on the page, update the schema to match — immediately. Schema that no longer matches the visible text is misleading markup, and Google can penalize it.
Common FAQ schema mistakes
- Schema does not match the visible text. The questions and answers in the schema must be the same as the ones readers see. If they differ, Google ignores the schema — and may flag the page.
- Two FAQ schemas on one page. If your SEO plugin already adds FAQ schema and you add a second one manually, Google sees a conflict. Check what your plugin outputs first, and add only one FAQPage block per page.
- FAQ schema on a page with no visible FAQ. Schema must describe content that is actually on the page. Adding FAQ schema to a page with no FAQ section is misleading markup.
- Promotional or advertising content in answers. FAQ answers should answer the question. Using them to push a sale (“Buy our premium plan now!”) violates Google’s guidelines for FAQ rich results.
- Questions nobody asks. A FAQ section built from keywords instead of real questions helps no one. Use the questions from “People also ask”, your support tickets and your Search Console queries.
- JSON syntax errors. A single missing comma breaks the whole script. Always validate after pasting, and always paste from a plain-text editor.
FAQ
Is FAQ schema a Google ranking factor?
No. FAQ schema is not a ranking factor. It helps Google understand your page, makes it eligible for FAQ rich results, and makes your answers easier for AI engines to extract and cite. The ranking benefit is indirect — through better understanding and better visibility.
Do I still need an SEO plugin to add FAQ schema?
No. The three methods in this guide work without any SEO plugin. Many SEO plugins (including Rank Math, which this site uses) also have their own FAQ block — if you already use one, use it and do not add a second FAQ schema manually, or you will have a duplicate.
Will FAQ schema make my page show in AI Overviews?
It helps, but it does not guarantee it. AI Overviews cite pages that rank well and answer clearly. FAQ schema makes your answers easier to extract, which improves your chances — but the page still needs to rank and the answer still needs to be the best one. See our AI Overviews SEO guide for the full method.
Can I add FAQ schema to every page on my site?
You can, but only where the page genuinely has a FAQ section. Adding FAQ schema to pages with no visible FAQ is misleading markup. Add it to the pages where a FAQ helps the reader — guides, service pages, product pages — and leave it off pages where it does not fit.
How many questions should a FAQ section have?
Four to eight is the right range for most pages. Fewer than four looks thin; more than eight usually means you are padding the section or the page is trying to answer too many different questions. If you have more than eight genuine questions, split them across two pages or add a dedicated FAQ page.
Related guides: Technical SEO Audit Checklist 2026, E-E-A-T in 2026: How Google Judges Trust and Authority.
Leave a Reply