Skip to content

WordPress plugin that extends the core Accordion block, adding the option to output output FAQ Schema JSON-LD markup for the block, providing potential SEO benefits.

License

Notifications You must be signed in to change notification settings

itsViney/accordion-faq-schema-toggle

Repository files navigation

Accordion FAQ Schema Toggle

This plugin gives editors the option to generate FAQ Schema JSON-LD markup for any WordPress core Accordion block. This markup will be automatically appended to the page footer. All non-text content inside accordion items is ignored.

Note that at the time of writing, the Accordion block is 'experimental' and requires the Gutenberg plugin with .

I made a suggestion on the Accordion Block issue thread to add this functionality to core, but I'm not confident enough to try and implement it myself. Obviously, if it helps, anybody is more than welcome to take this and add it directly to Gutenberg if they wish 👍.

How to install

  1. Grab the latest .zip from the Releases section on GitHub
  2. Upload it to your site using the Upload Plugin button on the Plugins page
  3. Activate the Accordion FAQ Schema Toggle plugin

How to use

  1. Add an Accordion block to your page
  2. Enable the 'This is an FAQ' toggle in the Accordion block's Settings panel.
Screenshot showing the Output FAQ Schema toggle in the Accordion block's settings panel.

About

WordPress plugin that extends the core Accordion block, adding the option to output output FAQ Schema JSON-LD markup for the block, providing potential SEO benefits.

Topics

Resources

License

Stars

Watchers

Forks