How do I create a Schema FAQPage?

Note that there is a WPSSO FAQ Manager add-on available to manage FAQ categories and individual Question / Answer pages. The WPSSO FAQ add-on also offers shortcodes that you can use to include FAQs in your content.

If you prefer to manually create parent / child pages and custom FAQ taxonomies, see the following guidelines.

A Schema FAQPage is a collection of Questions and Answers, and WordPress manages collections of related content in two different ways:

  1. A parent page with child pages.
  2. A taxonomy (categories, tags, or custom taxonomies) with posts / pages as members of that taxonomy.

Parent Pages

When using a parent page, you can edit the parent page and select “webpage.faq | schema.org/FAQPage” in the Document SSO metabox.

When editing the child pages, select “question | schema.org/Question” as their Schema type. Posts / pages will only be included in the parent FAQPage markup if they are of type Question, so make sure you have selected the correct Schema type for each child.

You can view an example markup for a parent FAQ Page here.

If you use custom post types, WPSSO automatically recognizes the “question” custom post type, assigning the correct Schema type automatically.

Taxonomy Terms

You can select the default Schema type for each taxonomy (categories, tags, etc.) under the SSO > Schema Markup > Schema Types tab. By default, all terms within a taxonomy are “item.list | schema.org/ItemList“.

If you use custom taxonomies, WPSSO automatically recognizes the “faq_category” and “faq_tag” custom taxonomies, assigning the correct Schema type automatically.

When editing a term within a taxonomy (a category or tag, for example), you can also select “webpage.faq | schema.org/FAQPage” as the Schema type for that term in the Document SSO metabox. For example, if you have a category named “FAQ”, then edit the “FAQ” term and select “webpage.faq | schema.org/FAQPage” as its Schema type in the Document SSO metabox.

Posts / pages will only be included in the term FAQPage markup if they are of type Question, so make sure you have selected the correct Schema type for each post / page in that term. For example, any post / page in the “FAQ” category should be of type Question.