FAQ Schema For Pages And Posts allows you to turn questions and answers on your page (your mini FAQ sections) into JSON-LD code on the fly.
The idea is to add as much meaning into your pages so that Google can understand them better.
You can simply copy and paste as you edit your WordPress page/post into the plugin (as it appears at the bottom of the editor) and upon saving the page, the JSON-LD schema will be present in the HEAD of your page/post.
To insert JSON-LD code into a given page, go to that page/post and you’ll find new fields at the bottom of the editor in the backend of Wordpress.
If you’d like to also display your Questions and Answers via a FAQ, use the shortcodes listed below.
Add the shortcode inside of the page or post content textbox to display the FAQs. The shortcode tag is wp-faq-schema. You can add title and accordion attributes.
The title is the heading displayed above the FAQs.
If you’d like to use an accordion for your FAQs, add accordion=1 as in the example above. (ie. [wp-faq-schema title="Car FAQs" accordion=1] ) This will show the FAQs with the title 'Car FAQs' as well as an accordion.
If you’d like to mass edit, use the Export section to export all of the pages and posts with their ids – and then edit the file and import it back. Note: For multiple FAQs for the same post add more rows in the CSV file with the same ID and title.
[wp-faq-schema] – This will show FAQs of that page or post.
[wp-faq-schema title="Car FAQs"] – This will show FAQs with “Car FAQs” as the title.
[wp-faq-schema accordion=1] – This will show FAQs as accordion.
[wp-faq-schema title="Car FAQs" accordion=1] – This code will show FAQs as accordion with “Car FAQs” as the title.
Frequently asked questions
The most common questions about FAQ Schema answered.