1. Creating a Q&A Section with Repeater Meta Field
Step 1: Add a Repeater Meta Field to Your CPT
Navigate to JetEngine > Post Types > Your CPT.
Add a new meta field and set its field type to Repeater.
Save the changes.
Step 2: Add Questions and Answers to Posts
Go to your posts and fill in the newly created Repeater meta field with your questions and answers for each post.
Step 3: Create a Repeater Query
Navigate to JetEngine > Query Builder > Add New.
Select Query Type: Repeater Query.
Configure the query settings:
Save the query.
Step 4: Display the Q&A Section in a Single Post Template
We’ll use the Tabs or Classic Accordion widget to display the Q&A section.
Open the Single Post template in Elementor.
Add the Classic Accordion widget.
Enable the “Use JetEngine Query” option.
Select your newly created query.
Leave only one item in the widget by deleting the default ones.
Step 5: Populate the Accordion with Dynamic Data
Set Content Type to Editor.
Use the Dynamic Tags option to populate the label and content fields.
Select Current Object Field and choose the appropriate subfields for Question (label) and Answer (content).
2. Creating a Q&A Section Using Options Page
If you want to display the same Q&A section on multiple pages, you can use Options Page and a repeater meta field.
Step 1: Create an Options Page
Navigate to JetEngine > Options Pages > Add New.
Add a repeater meta field with subfields for:
Save the Options Page and add your questions and answers.
Step 2: Create a Repeater Query for Options Page
Navigate to JetEngine > Query Builder > Add New.
Select Query Type: Repeater Query.
Configure the query settings:
Save the query.
Step 3: Create an Elementor Template for the Content
Navigate to Templates > Saved Templates > Add New Template.
Create a Section Template.
Add a Dynamic Field widget to display the answer.
Save the template.
Step 4: Display the Q&A Section with Media
Add the Tabs widget to a page in Elementor.
Enable “Use JetEngine Query” and leave only one item.
Fill the Label with the Current Object Field dynamic tag.
To display an image:
Set the Content Type to Template and select your newly created Elementor template.
Final Result
You should now see your Q&A section displaying the question, answer, and optional media content.