Directory / plugin

Renderbit FAQ Structured Data

v4.0.1 · by Renderbit Technologies

Manage FAQ items as a custom post type and output FAQPage JSON-LD on the posts and pages they apply to.

About this plugin

Renderbit FAQ Structured Data keeps your FAQs in one place and adds schema.org FAQPage structured data to the content they belong to. Write each question and answer once as an FAQ item, then attach it to the posts, post types, taxonomy terms or URLs where it should appear, or make it global.

Built for large sites:

  • Fast lookups. Associations live in a dedicated, indexed database table rather than post meta.
  • Per-post caching. Generated JSON-LD is cached per post and invalidated automatically when FAQs or mappings change.
  • Background invalidation. Cache purges are queued and processed in batches by WP-Cron, so saving an FAQ mapped to thousands of posts stays quick.
  • Health page. See the queue, recent log entries and run maintenance actions from FAQ Items > Health.
  • WP-CLI. Purge caches and process the queue from the command line.
  • Multisite ready. Activation, upgrades and uninstall run on every site of a network.

How output works

  • JSON-LD is printed on singular views only (posts, pages and custom post types). Archives, search results and the blog home never output FAQ markup.
  • Question and answer text is output as plain text: tags stripped, entities decoded and whitespace collapsed. Answers run through blocks and shortcodes.

WP-CLI commands

  • wp rfsd purge-transients purges all cached FAQ JSON-LD.
  • wp rfsd process-queue [--limit=N] processes the invalidation queue.
  • wp rfsd queue-info shows the number of pending queue items.

Developer filters

  • rfsd_question_text( $text, $faq_post ) filters the plain-text question.
  • rfsd_answer_text( $text, $faq_post ) filters the plain-text answer.
  • rfsd_uninstall_delete_faqs (default false): return true to delete FAQ posts when the plugin is deleted.

Development happens on GitHub.

Plugin tags