Please note that a WPSSO FAQ Manager add-on is available to manage FAQ categories and individual Question / Answer pages. The WPSSO FAQ Manager add-on also provides FAQ and Question shortcodes that you can use in your content. If you prefer to manually create parent / child pages or custom FAQ taxonomies, see the following guidelines.
Schema FAQPage markup is a collection of Questions and Answers, and WordPress manages a collection of related content in two different ways:
- A parent page with child pages.
- A taxonomy (ie. categories, tags or custom taxonomies) term with posts / pages assigned to that term.
Parent FAQ Page
When using a parent / child page relationship, you can edit the parent page and select FAQPage as its Schema type in the Document SSO metabox.
When editing the child pages, select Question as their Schema type in the Document SSO metabox.
Question child 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.
If you use custom post types, WPSSO automatically recognizes the “question” custom post type, assigning the correct Schema type automatically.
Taxonomy Term
You can select the default Schema type for each taxonomy (categories, tags, etc.) under the SSO > Advanced > Document Types > Schema Types tab. By default, all terms within a taxonomy are “item.list“.
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 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 FAQPage as its Schema type in the Document SSO metabox.
Question pages will only be included in the FAQPage markup if they are of type Question, so make sure you have selected the correct Schema type for each page in that term. For example, any page in a “FAQ” category should be of type Question.