=== faqai – Automatic FAQs and Follow-up Questions ===
Contributors: faqai
Tags: faq, ai, questions, answers, accordion
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatic FAQs under every post, written from the page itself, with follow-up questions as readers click. Edit or hide anything.

== Description ==

faqai adds a FAQ block under any post or page — without you writing a single question.

* **Written from your page.** The first time a page is viewed, faqai reads its text and writes the three questions a reader is most likely to have, with answers drafted only from that page's text, which you can edit or hide at any time.
* **Learns from readers.** Open an answer and the next questions appear underneath. Which questions get opened, and what people open next, shapes what later visitors see.
* **Maintained for you.** When a page changes its questions are regenerated; old sets are refreshed on a schedule. Edit or hide any question in your faqai dashboard.
* **Matches your theme.** The block picks up your heading and paragraph styles; override anything with CSS variables.
* **Any language.** Questions are written in the page's language.
* **Fails quietly.** The script loads asynchronously after your content; if faqai is unreachable the block simply doesn't appear.

The plugin is a thin connector: it places the faqai script on the pages you choose. Questions are generated and stored by the faqai service, which requires an account at [faqai.org](https://faqai.org). A free plan (1 site, 10 pages) is included; paid plans start at $19/month.

== Installation ==

1. Install and activate the plugin.
2. Go to **Settings → faqai** and click **Connect to faqai**. Create a free account (or log in) and you come straight back with the site key filled in.
3. Choose which post types show the block and save.
4. Open any post. Within a few seconds the first questions appear under the content.

You can also paste a site key by hand if you prefer.

To place the block somewhere specific, add the **faqai FAQ block** in the editor or the `[faqai]` shortcode.

== Frequently Asked Questions ==

= Where do the answers come from? =
Only from the text of the page the block is on. The faqai model is instructed to answer from that text and to say nothing the page does not contain. You can edit or hide any answer in the dashboard.

= Will this give me FAQ rich snippets in Google? =
No tool can promise that: Google retired FAQ rich results in 2026. The value is on the page — readers get their question answered and stay — and the Q&A is plain content that search engines can read.

= Does it slow my site down? =
The script is under 10 KB, loads asynchronously, and questions are served from a database rather than generated on each view.

= What data is sent to faqai? =
The page URL, title, an excerpt of its text, and which questions were shown and clicked. A random id is stored in the visitor's browser for your site only so follow-up questions make sense. See https://faqai.org/privacy.

= Can I turn it off for one post? =
Yes — uncheck "Show faqai on this page" in the post editor sidebar, or list the post ID under Exclude in the settings.

== Screenshots ==

1. The FAQ block under a post, in the theme's own styles, with a follow-up set opened.
2. Settings: connect in one click, choose post types, placement and heading.
3. The per-post switch in the editor sidebar.
4. The faqai dashboard: pages, what readers open, edit or hide any answer.

== External services ==

This plugin loads a script from `https://cdn.faqai.org/embed.js` and sends page content and interaction data to `https://faqai.org` to generate and serve questions. Terms: https://faqai.org/terms · Privacy: https://faqai.org/privacy

== Changelog ==

= 1.0.0 =
* First release.
