=== Adbear FAQ Schema – Structured Data ===
Contributors: secilkars
Tags: faq schema, schema markup, structured data, faqpage, json ld
Requires at least: 6.2
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically generate FAQPage schema from accordions or manual FAQ entries using lightweight JSON-LD markup on your site.

== Description ==

**Adbear FAQ Schema** helps you generate clean and SEO-friendly **FAQPage** structured data on your site using automatic accordion detection or manual FAQ entries.

The plugin is lightweight, easy to configure, and designed to work without modifying your frontend layout or existing accordion structure. Unlike many FAQ plugins, Adbear FAQ Schema focuses only on generating valid **JSON-LD** schema markup while keeping your website design completely untouched.

= Automatic accordion detection =

Automatically scans supported accordion layouts and generates FAQPage schema from visible question and answer content.

Supported layouts include:

* Bootstrap accordions
* Elementor accordions
* Gutenberg Details blocks
* Custom accordion selectors (via settings)

= Manual FAQ builder =

Create FAQ schema manually for any page or post. Ideal for landing pages, service pages, product pages, and SEO-focused content.

= Clean JSON-LD output =

The plugin generates lightweight JSON-LD structured data using **Schema.org** standards.

* No shortcode dependency
* No frontend HTML modification
* No visual changes to your website

= Per-page control =

Manage FAQ schema behavior for individual pages:

* Use global settings
* Force enable FAQ schema
* Disable schema on specific pages

= Safe and lightweight =

Adbear FAQ Schema is designed with performance and compatibility in mind.

* No frontend CSS injection
* No JavaScript dependency on the public site
* No visual interference
* Minimal database usage
* Developer-friendly structure

= Why use FAQ schema? =

FAQ structured data helps search engines and AI systems better understand your question-and-answer content. Properly structured FAQ content can support content understanding, semantic SEO, AI readability, and structured data quality. Rich results and display behavior depend on each search engine’s policies.

= Perfect for =

* SEO agencies
* Site and theme developers
* WooCommerce stores
* Business websites
* Landing pages
* Blog content
* Service websites

= Supported post types =

Enable FAQ schema on posts, pages, WooCommerce products (when the product type is enabled in settings), and other public custom post types you select in the plugin settings.

= Developer friendly =

Advanced users can customize accordion selectors, question selectors, answer selectors, and auto-detection behavior from the settings screen.

= Important note =

This plugin does not modify or replace your existing accordion design. Adbear FAQ Schema only generates structured JSON-LD schema markup in the background. Your website layout remains completely unchanged.

= Future roadmap =

Planned features may include:

* ACF Repeater integration
* WooCommerce product FAQ support
* Schema validation tools
* AI-generated FAQ suggestions
* Additional structured data modules

**Lightweight. Safe. SEO-friendly.** Generate modern FAQ structured data without bloated builders or frontend modifications using Adbear FAQ Schema.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate **Adbear FAQ Schema – Structured Data** from the Plugins screen
3. Go to **Settings → Adbear FAQ Schema** to configure global options and post types
4. Edit a page or post and use the **Adbear FAQ Schema** meta box for per-page FAQ and schema source

== Frequently Asked Questions ==

= Does this change how my accordions look? =

No. The plugin only outputs JSON-LD in the document head. It does not inject frontend CSS or alter your accordion HTML for display.

= Do I need shortcodes? =

No. Schema is generated from global settings, per-post options, and either manual FAQ fields or detected accordion content.

== Changelog ==

= 1.0.3 =
* Sanitized post meta save nonce with sanitize_text_field( wp_unslash() ) before wp_verify_nonce() per Plugin Check guidance.

= 1.0.2 =
* Aligned plugin bootstrap file and internal identifiers with the Adbear brand (adbear-faq-schema-structured-data).
* Added migration for legacy adear_* option and post meta keys on activation.

= 1.0.1 =
* Plugin Check and directory review fixes (author metadata, JSON-LD output, text domain alignment).
* Bumped minimum WordPress version documentation and tested up to 6.9.

= 1.0.0 =
* Initial release.
