WP Manifestindependent plugin directory
manifest / seo / faq-schema-block

FAQ Schema Block

A simple and clean Gutenberg Block for FAQ with proper schema.org implementation.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/nytafar/faq-schema-block/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A clean, performant FAQ block with smart schema.org implementation, optimized for both regular pages and WooCommerce products.

Features

Smart Schema Implementation

  • Automatic content-type detection (Product vs Regular pages)
  • Proper schema relationships in JSON-LD
  • WooCommerce product schema integration
  • Clean, semantic HTML output

Performance Focused

  • CSS-only animations
  • Zero JavaScript dependencies
  • Minimal DOM manipulation
  • Efficient block parsing
  • Inline styles only where needed

Developer Friendly

  • Direct block parsing API
  • Clean, documented code
  • Proper schema relationships
  • Semantic HTML with ARIA
  • Minimal styling footprint

Installation

  1. Upload to /wp-content/plugins/faq-schema-block/
  2. Activate through WordPress plugins screen
  3. Use in any post, page, or WooCommerce product

Technical Details

Schema Implementation

The plugin implements two types of schema relationships:

  1. Product Pages:

    {
    "@type": "Question",
    "mainEntityOfPage": {
     "@type": "Product",
     "@id": "[product-url]#product"
    }
    }
  2. Regular Pages:

    {
    "@type": "Question",
    "isPartOf": {
     "@type": "WebPage",
     "@id": "[page-url]#webpage"
    }
    }

Performance

  • CSS-only accordion animations
  • No external dependencies
  • Minimal DOM operations
  • Efficient block parsing
  • Inline styles only on relevant pages

Changelog

1.0.1

  • Added smart schema detection for WooCommerce products
  • Improved accordion animation performance
  • Fixed schema output location to head
  • Removed unnecessary styling
  • Added proper product schema relationships

1.0.0

  • Initial release

License

GPLv2 or later