Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Add FAQ Schema in WordPress (2 Methods)

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to add FAQ schema in WordPress?

Adding FAQ schema can help boost your SEO rankings and organic click-through rate by making your frequently asked questions appear directly in Google’s search results.

In this article, we will show you how to add FAQ schema in WordPress and improve your rankings, step by step.

How to Add FAQ Schema in WordPress (2 Methods)

What Is FAQ Schema?

FAQ schema is a smart markup code, also known as structured data, that you can add to your website pages to help Google identify an FAQ section.

If you add FAQ schema, then Google may choose to reward you with an enhanced search result listing that also shows FAQs directly below the name of your WordPress website.

Here’s an example of an FAQ result. Google shows the questions, and you can click the down arrows to see the answers.

Example of FAQ rich result

This increased visibility on Google means more traffic to your website. It also makes your blog look like an authority on the subject.

Plus, FAQ schema makes your content more helpful to users who prefer the question-and-answer approach.

With FAQ schema, you have control over the questions and answers. You can customize the content however you like. You can even add emojis to boost your organic click-through rate (CTR).

Your FAQs can also appear in Google’s ‘People also ask’ boxes, which is another potential visibility boost.

These boxes appear for many search queries and offer a list of additional questions, each linked to a website for more information.

FAQ schema can appear in the People Also Ask box

It’s important to note, though, that adding FAQ schema in WordPress will not guarantee that your FAQs appear on Google. However, it will improve your chances of being seen.

FAQ Schema Guidelines

Before adding FAQ schema to your pages and posts, it’s important to understand Google’s content guidelines.

FAQ schema content guidelines

You should only use FAQ schema if your page has a list of questions with answers. If your page only asks one question, then you should use the QA schema instead.

You should not use FAQ schema for advertising purposes or for questions and answers that contain violent, obscene, hateful, dangerous, or illegal language.

If the same question and answer appear multiple times on your page, then it’s important to only add FAQ schema in one instance.

The questions and answers in your FAQs must also appear in the content on your page.

Finally, make sure each question includes the entire text of the question and each answer includes the entire text of the answer.

How to Add FAQ Schema in WordPress

The easiest way to add FAQ schema in WordPress is to install a plugin that handles it for you, but you can also do it without a plugin.

We will cover both options, and you can use the quick links below to jump to the method you want to use:

Method 1: Adding FAQ Schema in WordPress With All in One SEO

The best way to add FAQ schema in WordPress is with the All in One SEO Pro plugin. It’s the best SEO plugin for WordPress, used by over 3 million sites.

The first thing you need to do is install and activate the plugin. For more details, see our guide on how to install a plugin in WordPress.

Note: There is a free version of All in One SEO available, but you need the premium version to add FAQ schema in WordPress.

Upon activation, the plugin will run a setup wizard. You can follow the on-screen instructions to set it up. If you need more help, then please take a look at our guide on how to properly set up All in One SEO for WordPress.

All in One SEO setup

Once you are done with the setup, you will return to the WordPress dashboard.

You can see a new ‘All in One SEO’ menu item in the admin sidebar.

All in One SEO menu item

If you had the free version of All in One SEO installed, then all of your settings will automatically transfer to the Pro version. The free version will be automatically deactivated.

Now that All in One SEO is installed and activated, you need to navigate to the page or post where you would like to add FAQ schema.

Simply scroll down to the bottom of the content editor, where you will see the AIOSEO Settings.

When you click on the ‘Schema’ tab, you can see that the schema settings are automatically enabled by default. Then, you can click on the ‘Generate Schema’ button to customize it.

All in One SEO Schema Settings

This will bring up the Schema Catalog, where you can select the type of schema you want to implement.

Next, you need to find the FAQ option and click the ‘Add Schema’ button next to it.

Choose FAQ from the Schema Catalog in AIOSEO

Now, you can start entering your FAQ information.

Start by adding a name and description for your page or post. You can even use AIOSEO’s easy emoji picker to add emojis to these fields.

Add name and description for FAQ

After that, you should scroll down to start adding the Question and Answer fields for your first FAQ question.

You can also click the ‘Add Another Question’ link to add more questions.

Add FAQs to All in One SEO

Once you are done, don’t forget to click the ‘Add Schema’ button.

If you want to test whether your FAQ schema markup is correctly added, then scroll down to our section on how to test your WordPress FAQ schema.

Method 2: Adding FAQ Schema in WordPress Without a Plugin

If you want to add FAQ schema in WordPress without a plugin, then you can do it by using our manual code method.

First, you will need to generate the FAQ schema code. You can do this by using the FAQPage JSON-LD Schema Generator.

FAQ schema generator

Start by adding your questions and answers on the left side of the tool. You can click ‘Add Another FAQ’ to add as many questions as needed.

As you type, the schema markup will update on the right.

Add questions to schema generator

Your next step is to paste the code you just created into WordPress. Simply click ‘Copy FAQ Schema’ to copy the code.

After that, navigate to the page or post where you want to add the FAQ schema.

If you are using the block editor, then you need to add a Custom HTML block and paste the FAQ schema markup inside that.

Add FAQ schema in the block editor

If you are still using the old classic editor, then you need to toggle to the text editor.

After that, you can paste the schema markup at the bottom of your post.

Add FAQ schema in the classic editor

When you are finished, just click the ‘Update’ or ‘Publish’ button to save your changes.

Testing Your WordPress FAQ Schema

Since your FAQ schema code is specifically for Google, you can’t tell whether it’s working just by looking at your page.

To test whether your FAQ schema markup is correct, you can use Google’s Rich Results Test page. Simply enter the URL of the page with FAQ schema and click ‘Test URL’.

Google's Rich Results Test

Google will analyze your page for all kinds of schema markup, not just FAQ schema. You may see multiple results if your page uses other kinds of schema.

Once the text is complete, expand the results under the “FAQ” heading.

Rich results FAQ schema section

You should see the actual question-and-answer pairs that you added to your FAQ section. If these are correct, then you are all set.

If they aren’t correct, then you will need to go back and double-check that you set up your FAQ schema properly.

FAQ schema test results

If the correct items still aren’t showing, then we recommend clearing your WordPress cache because caching plugins may show an outdated version of your content to Google.

Expert Guides on Schema Markup in WordPress

Now that you know how to add FAQ schema in WordPress, you may like to see some other guides related to schema markup:

We hope this article helped you learn how to easily add FAQ schema in WordPress. You may also want to see our ultimate WordPress SEO guide to boost your rankings and our expert picks for the best social media plugins for WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

16 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Jiří Vaněk says

    Is there a chance that if I include FAQs in my articles, Google will use them without resorting solely to markup? I typically use FAQs in accordion form using Elementor on my website. I’m curious whether Google can use this format as well, or is it just wishful thinking that it might work this way.

    • WPBeginner Support says

      There is a chance but you would be relying on Google understanding the content. Adding the markup specifically tells search engines the type of content that it is.

      Admin

      • Jiří Vaněk says

        Thank you for the advice. I started adding markup schemes and it’s really many times better.

  3. Ralph says

    So if I understand correctly this FAQ schema is for Google and normal FAQ is for our website right?
    Does it matter if FAQ on the website is longer and FAQ schema is shorter? Or should it be the same to avoid some kind of punishment from Google?
    I always thought that Google pull info from the website itself and it is not seperate FAQs.

    • WPBeginner Support says

      It should not matter too much if the schema is not 100% the same between the two. For the information itself, Google can crawl some information but without the schema there is no guarantee that it will see an FAQ as an FAQ.

      Admin

  4. Sasa Evans says

    I tried method 2. It is ok on Google however the FAQs are not displaying on my page. Shouldnt they show on the page?

    • WPBeginner Support says

      The Schema markup is for search engines to understand the FAQ for a post or page, if you wanted your users to see a FAQ section you would need to add that to your content.

      Admin

    • WPBeginner Support says

      The most common reason for that would be if you have a caching plugin to clear any caching.

      Admin

  5. Axel Metayer says

    Cool Video tutorial thanks. I tried to add Schema to a category page. but the “script” tags are always removed and there is no block editor. Do you have an Idea how to solve it?

    • WPBeginner Support says

      For the category pages, we would recommend using a plugin for that markup as adding it manually would require you to edit your theme’s template files which would require some coding knowledge.

      Admin

  6. Leo Emery says

    Hi great tutorial. I just upgraded to AIOSEO (paid). I have posts that have many questions and answers within the post.

    I was wondering when it comes to the number of questions to add to the FAQ schema any how many should you add? Or does it matter?

    Thanks
    Leo

    • WPBeginner Support says

      As long as it adds value then you can add as many questions and answers to your FAQ that you would like :)

      Admin

Leave a Reply to WPBeginner Support Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WPBeginner Assistant
How can I help you?

By chatting, you consent to this chat being stored according to our privacy policy and your email will be added to receive weekly WordPress tutorials from WPBeginner.