=== Tempora FAQPage Schema for Accordion ===
Contributors: csbrou
Tags: faq, schema, accordion, seo, gutenberg
Requires at least: 6.9
Tested up to: 6.9.1
Requires PHP: 7.4
Stable tag: 1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Automatically generates consolidated FAQ Schema for the WordPress Core Accordion block (WP 6.9+).

== Description ==

Tempora FAQPage Schema for Accordion provides a lightweight, SEO-focused enhancement for the standard WordPress Core Accordion block.

When the **"FAQ Schema Mode"** style is applied to an Accordion block, the plugin automatically parses the toggle titles and panels to generate valid FAQPage JSON-LD schema in the footer.

This gives you granular control over your SEO. Instead of relying on a plugin to "guess" your FAQs, you can specifically mark the sections of your content that you want search engines to prioritize.

**Key Features:**
**Block Integration:** No custom blocks needed; works directly with the native Core Accordion.
**Consolidation:** Aggregates multiple accordion sections across a page into a single, valid JSON-LD script.
**FSE Ready:** Built specifically for the Full Site Editor, template parts, and synced patterns.
**Lightweight:** No settings pages or database entries.

== Installation ==

**Installation**

1. Upload the `tempora-faq-accordion-schema` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. In the Block Editor, select a Core Accordion block.
4. In the Block Sidebar under 'Styles', select **FAQ Schema Mode**.

== Frequently Asked Questions ==

= Does this work with FSE? =
Yes. It is specifically designed to work within the Full Site Editor (FSE) and modern block themes.

= Can I use this with other SEO plugins? =
Yes. This plugin is a specialized tool for Core Accordion blocks. It allows you to generate a specific FAQ schema that your primary SEO plugin might miss.

= How many accordions can I mark for Schema? =
As many as you like! The plugin collects data from every accordion using the "FAQ Schema Mode" style and consolidates them into one schema object in the footer.

== Screenshots ==

1. The 'FAQ Schema Mode' style option in the block sidebar.
2. Example of the generated JSON-LD schema in the page source.

== Changelog ==

= 1.0 =
* Initial release.
* Added support for Core Accordion block with consolidated FAQ Schema.
* Implemented secure late-escaping and namespacing for repo compliance.