FAQ

faq page search resultThe FAQ shortcode for WordPress can be used to display a Frequently Asked Questions section within content, with a proper Schema markup JSON-LD which can help improve visibility in both search engines and AI overviews/search results (in ChatGPT, Perplexity etc.). Because AI powered search operates rather as a Question and Answer, this FAQ markup can get your website content easier in AI results. Please note that inclusion is such results is not guaranteed, but the Schema markup is a must for inclusion. Therefore, the FAQ shortcodes from our plugin can help both Search Engine Optimization (SEO) and Answer Engine Optimization (AEO) – the foundation for showing up in AI responses. The FAQ is displayed similarly to the Spoilers Accordion, in an interactive manner, offering a smooth visual transition when going through each question and answer. Check below for example implementations and shortcode documentation:

FAQ Examples

Does FAQ Schema markup help in getting included in AI search results?
The Schema markup is a must for better content index and can help in providing the right context for AI powered search results to include your content within these results.
Given that AI searches operate rather as a Question and Answer engine, creating content in a similar manner and marking it down with correct schema as our plugin does can facilitate your website being picked up and displayed in AI searches. Once you update your content with our X3M shortcode, make sure you submit the changes to Google Search Index and Bing Search.
The inclusion of Schema markup does not guarantee the listing in AI results, with each AI search using a series of factors for the answers provided. However the Schema markup can facilitate search engines to pick up the correct info from your website in a Question and Answer manner.
You may click on any of the spoilers above to open them, and when this is done, the other opened spoiler will close. This is provides the accordion effect, with proper Schema JSON-LD markup.

FAQ Shortcodes

FAQ Shortcode
[x3m-faq]
[x3m-spoiler title="Question 1" open="yes" background="#f5f5f5" textcolor="black" radius="10px"]
Answer 1.
[/x3m-spoiler]
[x3m-spoiler title="Question 2" open="no" background="#f5f5f5" textcolor="black" radius="10px"]
Answer 2.
[/x3m-spoiler]
[x3m-spoiler title="Question 3" open="no" background="#f5f5f5" textcolor="black" radius="10px"]
Answer 3.
[/x3m-spoiler]
[/x3m-faq]
The shortcode can be used to display a list of questions and answers within spoilers. When one of the spoilers is opened, any other will in turn close, creating the accordion effect. The FAQ shortcode can be used with ease for an FAQ section with proper Schema markup, listing visible Questions with the answers available in each spoiler. Above example displays a light-grey 3 questions & answers FAQ section.

FAQ Documentation

Here are the shortcode option settings available for FAQ:

Shortcode Settings Details
title=”Question” This is used to set question on each individual spoiler.
open=”no” This is used to set spoiler to be open or not on page load. Available options:
– “no” for having the spoiler closed
– “yes” for having the spoiler open
background=”#f5f5f5″ This is used to set the background color of the spoiler container.

Color names or HEX color codes can be used to set the desired color.

textcolor=”black” This is used to set the text color for the spoiler title.

Color names or HEX color codes can be used to set the desired color.

radius=”10″ This is used to set corners’ radius of the spoiler container, making them rounder or sharper.
answer The answer should be provided inside the [ x3m-spoiler] answer here [ /x3m-spoiler] shortcode.