=== Scripts + Pixels Direct Answer ===
Contributors: darinnj
Tags: answers, structured data, gutenberg, rest-api, content
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 0.1.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add a structured Direct Answer block, render it on the front-end, and expose answers via a public REST API.

== Description ==

Scripts + Pixels Direct Answer helps you add a consistent, structured “Direct Answer” to your posts and pages. The block stores answer data in post meta for easy querying, renders a semantic front-end section, and exposes a public REST endpoint for integrations.

= Key Features =

* Gutenberg block for Direct Answer, Key Points, and Sources
* Front-end rendering with a stable anchor ID
* Public REST API endpoint for answer data
* Admin list indicators for Direct Answer status

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/scriptsandpixels-direct-answer` directory, or install the plugin through the WordPress plugins screen.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Edit a post or page and insert the “Scripts + Pixels: Direct Answer” block.

== Frequently Asked Questions ==

= Does this plugin add schema markup? =

No. This plugin focuses on structured content storage and front-end rendering. You can add schema via your theme or a dedicated SEO plugin if desired.

= Can I hide the front-end output? =

Yes. Use the “Display on front-end” toggle in the block sidebar. When off, that answer is hidden on the page. It is always included in the public answers API.

== Changelog ==

= 0.1.3 =
* REST API: “Display on front-end” controls page output only; all answers remain in the public API (documented in block help and FAQ).
* REST API: limit queryable post types to public post types only.

= 0.1.2 =
* Superseded by 0.1.3 for REST display-toggle behavior.

= 0.1.1 =
* Version bump only: new submission package after duplicate ZIP rejection on the directory upload form. No functional changes.

= 0.1.0 =
* Initial release

== Upgrade Notice ==

= 0.1.3 =
Clarifies that the front-end display toggle does not affect the public answers API.

= 0.1.2 =
Superseded by 0.1.3.

= 0.1.1 =
Maintenance release for the Plugin Directory submission package.

= 0.1.0 =
Initial release.
