FAQ Schema For Pages And Posts by Krystian Szastok Founder of RobotZebra – a London based SEO agency, 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 as possible 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. Once you’ve saved the page, the JSON-LD schema will be present in the HEAD of your page/post — and voila, you’re on your way to a making a great impact across rankings.
If you’re looking for a tutorial, check out our comprehensive video on YouTube here..
- Add JSON-LD schema easily to HEAD of any page or post
- Build on-page accordion FAQs
- Mass export to edit multiple page FAQs from a spreadsheet and reimport back in
- Simple copy and paste possible as editor present within a page/post
- Have a chance to gain more visibility on Google’s search result pages
- Secure and sanitised
Using the plugin
Just to insert JSON-LD in a given page, go to that page/post and you’ll find new fields at the bottom the editor in the WP backend.
If you’d like to also display your Questions and Answers via a FAQ, use the shortcode. Title defines the heading above the FAQs. If you’d like to use an accordion, add accordion=1 as in the example. Remove that part not to use an accordion and just show all FAQs open (ie. [wp-faq-schema title=”Car FAQs” accordion=1] )
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 same post add more row at CSV file with same ID and title.
Add the shortcode inside of the page or post content to display the FAQ. The shortcode tag is wp-faq-schema. It will take title and accordion attributes.
[wp-faq-schema] – This code will only show FAQs of that page or post.
[wp-faq-schema title=”Car FAQs”] – This code will show FAQs with “Car FAQs” title.
[wp-faq-schema accordion=1] – This code will show FAQs as accordion.
[wp-faq-schema title=”Car FAQs” accordion=1] – This code will show FAQs as accordion with “Car FAQs” title.