Ok let’s start building our FAQ Schema on our BricksBuilder
In this tutorial, we are going to use the Accordion (Nestable) element.
Press the ‘+’ Icon and search for the Accordion (Nestable)
After you add it to your page, you will see in your structure panel the Accordion Structure, which consists of four different items (Accordion, Items, Title, Content). These items are crucial for the FAQ Schema to work properly.
Each Item element corresponds to one of the questions in your FAQ. You can add as many Item / Questions as you want or use them as a post query loop.
Step 2
In your Accordion Nestable item, you need to add the following data attributes:
Element: Accordion Nestable
Go to Style > Attributes and add the following…
itemscope
itemtype="https://schema.org/FAQPage"
HTMLThe same steps apply to the following elements, with different data attributes:
Element: Item
Go to Attributes and add the following…
itemscope
itemtype="https://schema.org/Question"
itemprop="mainEntity"
HTMLElement: Heading (Which is represent the Question)
Go to Attributes and add the following…
itemprop="name"
HTMLElement: Content
Go to Attributes and add the following…
itemscope
itemtype="https://schema.org/Answer"
itemprop="acceptedAnswer"
HTMLLastly for the Element: Rich Text (Which represents the answer of the question)
Go to Attributes and add the following…
itemprop="text"
HTMLStep 3
Finally, you can check your results here: Google Rich Results Test.