The content field in Create Post and Update Post accepts HTML. To add a FAQ section, embed the following block anywhere within the HTML body.
contributors and primary_category are required fields when creating or updating a post that contains a FAQ block.
FAQ HTML Structure
Replace Question Placeholder and Answer Placeholder with your content. Add more faq-pair-html divs inside faq-section for additional Q&A pairs.
Multiple Questions
Example API Request
Schema.org Markup
The FAQ block uses Schema.org FAQPage structured data, which enables rich results in Google Search.