What is WebTend AI FAQ Creator?
WebTend AI FAQ Creator generates structured FAQ sections for any post or page by sending the page's content to the AI provider of your choice and returning a set of ready-to-publish question-and-answer pairs. Every FAQ you create is automatically backed by JSON-LD FAQ Schema markup that Google can display as a rich result — no third-party SEO plugin required.
The plugin is entirely self-hosted in the sense that it stores nothing on WebTend servers. It contacts only the AI provider API you connect with your own key — and only when you press Generate FAQs.
System Requirements
The plugin checks its minimum WordPress and PHP versions on activation and shows an admin notice instead of crashing if requirements are not met. An AI provider API key is needed for FAQ generation — the plugin itself is free with no subscription.
| Component | Minimum | Notes |
|---|---|---|
| WordPress | 6.0 | Checked on activation |
| PHP | 7.4 | No PHP 8-only features used — wide hosting compatibility |
| AI Provider API Key | One of: OpenAI, Gemini, Claude | BYOK — bring your own key |
| HTTPS | Recommended | API keys are stored in wp_options; HTTPS prevents transit exposure |
| WooCommerce | Not required | No WooCommerce dependency in this version |
Installation
Method A — WordPress Plugin Directory (Recommended)
Search in WordPress Admin
Go to Plugins → Add New and search for WebTend AI FAQ Creator or webtend-ai-faq-generator.
Install & Activate
Click Install Now, then Activate. The AI FAQ Creator menu appears in your WordPress admin sidebar.
Add Your API Key
Go to AI FAQ Creator → Settings, choose your AI provider, paste your API key, and click Test to confirm the connection.
Method B — Manual Upload
Download & Upload
Download webtend-ai-faq-creator.zip from wordpress.org/plugins. Go to Plugins → Add New → Upload Plugin and install the ZIP.
Activate
Click Activate Plugin. The plugin creates the wp_wtaf_faq_sets database table automatically on first activation.
Configure Your Provider
Navigate to AI FAQ Creator → Settings → AI Provider & API Keys and enter your key for at least one provider.
faq-accordion.php or faq-list.php from the plugin's templates/ folder into your active theme's root directory. Your theme copy takes precedence over the plugin's default and survives plugin updates.
Quick Start
After activation and API key setup, you can generate your first FAQ set in under a minute.
- Go to AI FAQ Creator → Settings and connect at least one AI provider with your API key
- Open any post or page in the WordPress editor — you'll see the AI FAQ Creator meta box below the content editor
- Choose your provider, FAQ count (1–15), and tone, then click Generate FAQs from Page Content
- Review and edit the generated FAQs, then save the post — FAQs are stored automatically
- Display your FAQs with the shortcode
[wtaf_faq], the Gutenberg block, or enable Auto-append in Settings to show them on every page automatically
AI Providers
The plugin supports three AI providers. You connect them with your own API key — there is no WebTend account required, and API costs go directly to the provider. Switch providers at any time from Settings; existing FAQ sets are not affected.
wp_options using sanitize_text_field(). Keep your WordPress installation and database access secured. Use HTTPS to prevent keys from being exposed in transit.
Testing Your Connection
Each provider tab in Settings has a Test button. Clicking it sends a short sample text to the provider and confirms the key is valid and the model is responding before you use it on real content.
FAQ Generation
FAQ generation happens from a dedicated meta box on every post and page edit screen. The meta box reads the post's content and sends it to your chosen AI provider along with your configuration.
Controls
| Control | Options | Description |
|---|---|---|
| AI Provider | openai | gemini | claude | Override the global default for this generation only |
| FAQ Count | 1–15 | Number of FAQ items to generate |
| Tone | Professional, Friendly, Technical, Simple | Writing style of the generated answers |
After generation
Each FAQ appears as an editable card with a question input and an answer textarea. You can edit, reorder, or delete individual items before saving. Once the post is saved, FAQs are stored in _wtaf_faqs post meta and synced to the wp_wtaf_faq_sets table for the management dashboard.
wtaf_rate_limit_per_minute filter.
Gutenberg Block
The AI FAQ Display block (wtaf/faq-display) is registered from block.json using apiVersion 3 — the current WordPress standard. It renders the same PHP output as the shortcode so the editor preview and the live frontend always match exactly.
What the block provides
ServerSideRender fetches the actual PHP-rendered FAQ accordion into the editor canvas. What you see in the editor is exactly what visitors see.[wtaf_faq] shortcode block to the AI FAQ Display block with one click. Round-trip conversion back to shortcode is also available.Adding the block
In the block editor, press / and type AI FAQ, or open the block inserter and search for it under the Text category. The block automatically displays the FAQs for the current post — no configuration required.
Block attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
| style | string | accordion | Display style: accordion or list |
| search | boolean | true | Show the live search bar |
| searchPlaceholder | string | '' | Placeholder text for the search input |
| showTitle | boolean | false | Show a section heading above the FAQ list |
| title | string | '' | Heading text (used when showTitle is true) |
| postId | integer | 0 (current) | Load FAQs from a specific post ID |
Block Transforms
The block supports bidirectional transforms with the [wtaf_faq] shortcode. Select an existing shortcode block in the editor and click Transform to → AI FAQ Display. All shortcode attributes (style, search, search_placeholder, title) are mapped automatically. To convert back, select the block and choose Transform to → Shortcode.
Display Options
FAQs can be displayed in two styles — Accordion (collapsible, default) or List (all expanded). Both styles include the optional live search bar. The style is set globally in Settings and overridable per shortcode.
| Setting | Description | Default |
|---|---|---|
| FAQ Schema markup | Inject JSON-LD FAQPage schema in <head> | on |
| Auto-append FAQs | Automatically append FAQ section after page content | off |
| Default display style | accordion | list | accordion |
| Search bar | Show live keyword-filter search input | on |
FAQ Schema Markup
When Schema markup is enabled (the default), the plugin outputs a JSON-LD FAQPage block in the <head> of every singular page that has FAQs. This is the format Google uses to display FAQ rich results in search — collapsible answer snippets below the page's main result.
// Injected into <head> via wp_head hook { "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [ { "@type": "Question", "name": "What services do you offer?", "acceptedAnswer": { "@type": "Answer", "text": "We provide digital marketing..." } } ] }
The schema is filtered through wtaf_schema_enabled, which lets you disable it conditionally — for example, on a specific post, or for users who are logged in.
Import & Export
The Import / Export page lets you back up every FAQ set to a single file and restore it on any WordPress site running this plugin. It supports JSON (best for re-importing) and CSV (best for editing in Excel or Google Sheets).
Export
Go to AI FAQ Creator → Import / Export and click Download Export File. Choose a format and download begins immediately — no page reload.
Import
Upload a .json or .csv file using the drag-and-drop zone or the Browse button. Choose a duplicate strategy before clicking Run Import:
| Strategy | Behaviour |
|---|---|
| Replace | Overwrites the existing FAQ set for matching posts |
| Skip | Leaves existing FAQ sets unchanged; only imports new ones |
Post Title, Post URL, Question, Answer. Multiple rows with the same Post URL are grouped into one FAQ set. Import matches posts by URL first, then by slug.
Auto-Append
When Auto-append is enabled under Settings → Display, the FAQ section is automatically added below the content of any singular post or page that has FAQs — no shortcode or block needed.
Auto-append is smart about avoiding duplication: if the page's content already contains a [wtaf_faq] shortcode or the Gutenberg block, the auto-appended copy is suppressed. It also fires only on the main query loop on singular views, so it never runs in widgets, archive loops, or REST API responses.
Bulk FAQ Generation
Bulk Generation lets you queue all published pages and posts and generate FAQs for each one automatically. The plugin processes them sequentially — one post per AJAX call — to stay within your AI provider's rate limits.
Go to AI FAQ Creator → Bulk Generate to access this feature.
Configuration options
| Option | Description |
|---|---|
| Post type | All post types, pages only, posts only, or any registered public custom post type. |
| FAQ count per post | How many FAQs to generate per page (1–15). |
| Tone | Writing style for all generated answers. |
| Overwrite existing FAQs | When off, posts that already have FAQs are skipped. When on, existing FAQs are replaced. |
Progress tracking
A live progress bar shows percentage complete. Below it, counters track how many posts have been done, skipped (no content or already has FAQs), and failed (API error). A scrolling log shows the last 10 processed posts by name and status.
Quick Generate
Quick Generate lets you create FAQs from any content source — without opening the post editor. It is the fastest way to get started on a new site or to generate FAQs for a page whose content lives elsewhere.
Go to AI FAQ Creator → Quick Generate to access this feature.
Two source modes
| Mode | How it works |
|---|---|
| ✏️ Paste Text | Paste any content — a page description, product copy, article — directly into the text area. Up to 8,000 characters are sent to the AI. |
| 🔗 From URL | Enter any public webpage URL. The plugin fetches the page server-side, strips all HTML, and uses the resulting text as the AI prompt. Private/local URLs are blocked for security. |
Workflow
Choose a source
Switch between Paste Text and From URL using the mode buttons. For URL mode, click Fetch Content to retrieve and preview the extracted text.
Set generation options
Choose FAQ count (1–15) and tone, then click Generate FAQs. The result appears as editable cards — you can adjust questions and answers before saving.
Attach to a page
Select a target page or post from the dropdown and click Save & Attach FAQs. The FAQs are saved to that post's meta and the FAQ Sets table — exactly as if they had been generated from the post editor.
Shortcode
[wtaf_faq]
post_id is supplied. Works in any theme or page builder that renders shortcodes.[wtaf_faq post_id="42"] to embed the FAQ set from post ID 42 anywhere on your site — useful for embedding a product FAQ on a landing page.
All Settings
AI Provider & API Keys
| Option key | Description | Default |
|---|---|---|
| wtaf_ai_provider | Active AI provider slug | openai |
| wtaf_openai_api_key | OpenAI secret key | '' |
| wtaf_openai_model | OpenAI model identifier | gpt-4o-mini |
| wtaf_gemini_api_key | Google Gemini API key | '' |
| wtaf_gemini_model | Gemini model identifier | gemini-1.5-flash |
| wtaf_claude_api_key | Anthropic Claude API key | '' |
| wtaf_claude_model | Claude model identifier | claude-haiku-4-5-20251001 |
Generation Defaults
| Option key | Description | Default |
|---|---|---|
| wtaf_faq_count | Default number of FAQs per generation (1–15) | 5 |
| wtaf_faq_tone | Default tone: professional | friendly | technical | simple | professional |
| wtaf_custom_prompt | Additional instructions appended to every AI prompt | '' |
Display
| Option key | Description | Default |
|---|---|---|
| wtaf_schema_enabled | Inject JSON-LD FAQPage schema: yes | no | yes |
| wtaf_auto_append | Auto-append FAQ section below content: yes | no | no |
Hooks & Filters
Filters
| Filter | Parameters | Description |
|---|---|---|
| wtaf_meta_box_screens | array $screens |
Add or remove post types that show the FAQ generation meta box. Default: ['page', 'post']. |
| wtaf_schema_enabled | bool $enabled, int $post_id |
Conditionally disable schema injection per post without touching the global setting. |
| wtaf_rate_limit_per_minute | int $limit |
Adjust the per-user API call rate limit. Default: 10. |
| wtaf_ai_prompt | string $prompt, int $faq_count, string $tone |
Modify the full prompt sent to the AI before the API call is made. |
| wtaf_rate_limit_per_minute | int $limit |
Adjust the per-user API call rate limit for Bulk and Quick Generate. Default: 10 (bulk start: 5, URL fetch: 15). |
Usage examples
add_filter( 'wtaf_meta_box_screens', function( $screens ) { $screens[] = 'product'; // WooCommerce products return $screens; } );
add_filter( 'wtaf_schema_enabled', function( $enabled, $post_id ) { return ( 999 === $post_id ) ? false : $enabled; }, 10, 2 );
add_filter( 'wtaf_rate_limit_per_minute', function( $limit ) { return current_user_can( 'manage_options' ) ? 30 : $limit; } );
External Services
This plugin connects to third-party AI provider APIs to generate FAQ content. These calls are made only when you click "Generate FAQs" in the post editor — no data is sent automatically or on page load.
OpenAI
Used to generate FAQ content via the GPT model you select (e.g. GPT-4o Mini).
| Detail | Value |
|---|---|
| API endpoint | https://api.openai.com/v1/chat/completions |
| Terms of Service | openai.com/policies/terms-of-use |
| Privacy Policy | openai.com/policies/privacy-policy |
Google Gemini
Used to generate FAQ content via the Gemini model you select (e.g. Gemini 1.5 Flash).
| Detail | Value |
|---|---|
| API endpoint | https://generativelanguage.googleapis.com/ |
| Terms of Service | policies.google.com/terms |
| Privacy Policy | policies.google.com/privacy |
Anthropic Claude
Used to generate FAQ content via the Claude model you select (e.g. Claude Haiku).
| Detail | Value |
|---|---|
| API endpoint | https://api.anthropic.com/v1/messages |
| Terms of Service | anthropic.com/legal/consumer-terms |
| Privacy Policy | anthropic.com/legal/privacy |
Frequently Asked Questions
Do I need to pay for this plugin?
Which AI provider gives the best results?
Will generated FAQs appear in Google's rich results?
Can I override the FAQ templates with my own theme files?
faq-accordion.php or faq-list.php from the plugin's templates/ folder into the root of your active theme (or child theme). The plugin checks for a theme copy first using locate_template(). Your theme copy always wins and survives plugin updates.Can I migrate my FAQs to another WordPress site?
Can I add my own custom post types to the FAQ meta box?
wtaf_meta_box_screens filter. Add your custom post type slug to the array and the meta box will appear on that post type's edit screen.What happens if I uninstall the plugin?
_wtaf_faqs post meta, and drops the wp_wtaf_faq_sets table. On Multisite it cleans up every sub-site. Deactivating alone does not remove any data.How does Bulk Generate handle posts that already have FAQs?
Can Quick Generate fetch any URL?
Does the Gutenberg block require a build step or npm?
editor.js) uses WordPress core globals (wp.blocks, wp.blockEditor, wp.components, wp.serverSideRender) that are already loaded by the block editor. No npm install, no webpack, no build step is required by the site owner or developer.How do I convert my existing shortcodes to the block?
[wtaf_faq] (either a Shortcode block or a Classic block), then click the Transform to → button in the block toolbar and choose AI FAQ Display. All attributes are mapped automatically. You can convert back to a shortcode the same way.Changelog
block.json (apiVersion 3) — modern WP block standard[wtaf_faq] shortcode (one-click upgrade)core/shortcode (round-trip for classic themes)no_found_rows set to true on bulk post query — removes SQL_CALC_FOUND_ROWSreturn after wp_send_json_success() on empty bulk queueescAttr() added for HTML attribute context in JS — prevents value="" breakout[wtaf_faq] with full attribute support