تفصیل
SAAI Knowledge adds three purpose-built content types to WordPress — FAQ, Knowledge Base, and Glossary — with the structure, navigation, and structured data that both readers and AI crawlers expect.
Knowledge Base
- Two-column layout: category sidebar + article, with automatic ancestor-term navigation
- Table of contents generated from your article’s headings, with scroll-spy highlighting
- Breadcrumbs with
BreadcrumbListstructured data - Works with block themes and classic themes alike
FAQ
- Accordion display built on the core Accordion block — no extra JavaScript framework
- Each question gets its own page (question as heading, answer directly below) with
QAPagestructured data; the archive getsFAQPagestructured data - Server-rendered content: the answer is always present in the initial HTML, so JavaScript-averse crawlers see it too
Glossary
- A–Z / Japanese (五十音) index block, sorted by reading
- Automatic term linking across your site’s content, with a tooltip preview on hover/tap
DefinedTermstructured data on each term’s page
Live search
- A single search block that queries FAQ, Knowledge Base, and Glossary content and groups results by type as you type
Built for AI / RAG pipelines
- Every FAQ/KB/Glossary page is available as clean Markdown via
?format=markdown - A Markdown index of your whole knowledge base, published for AI crawlers
- If you run Yoast SEO, Rank Math, or All in One SEO, SAAI Knowledge fills in their llms.txt descriptions for these pages automatically
- A REST export endpoint with incremental sync (
modified_after), plus a full-dump JSONL/CSV download from the admin screen — ideal for feeding a support chatbot or RAG index - The Markdown output, llms.txt index, and SEO-plugin integration are controlled by a single setting; the REST export endpoint and admin download aren’t affected by it and are always available (the REST endpoint only ever returns already-public content; the admin download requires the same capability as the rest of Settings)
Extensible
Every automatic behavior (auto-linking, structured data, and the Markdown/llms.txt output) is controlled from Settings, and the plugin exposes saai_* actions/filters so other plugins and themes can customize or extend it.
Source code and build process
SAAI Knowledge is developed in the open. The complete, human-readable source — including the un-minified JavaScript and SCSS under src/ that the compiled files under build/ are generated from — is maintained at:
https://github.com/shinobiashi/saai-knowledge
The free plugin is the plugins/saai-knowledge/ directory of that repository.
The build uses @wordpress/scripts (webpack + Babel) and needs Node.js and npm; the project’s CI builds with Node.js 24. To reproduce the compiled files from source:
git clone https://github.com/shinobiashi/saai-knowledge.gitcd saai-knowledgenpm install-
npm run buildnpm run build compiles
plugins/saai-knowledge/src/**intoplugins/saai-knowledge/build/**. No third-party JavaScript library is bundled: the only module the front-end scripts import is@wordpress/interactivity, which WordPress itself provides at runtime.
Looking for WooCommerce integration?
SAAI Knowledge for WooCommerce, a companion add-on that links FAQ/KB/Glossary content to products and product categories and displays it on product pages, is planned as a separately sold, optional purchase — it isn’t available yet and is not required to use this plugin.
سکرین شاٹاں






Blocks
This plugin provides 6 blocks.
- KB Table of Contents In-page table of contents generated from the article's headings, with scroll-spy highlighting.
- KB Sidebar Category tree and article list sidebar for Knowledge Base pages.
- Knowledge Search Live search across FAQ, Knowledge Base, and glossary content.
- Glossary Index Tabbed index of published glossary terms, grouped by gojūon row or A–Z.
- FAQ List FAQ accordion list with FAQPage structured data, built on the core Accordion block.
- KB Breadcrumbs Hub / category / article breadcrumb trail for Knowledge Base pages, with BreadcrumbList JSON-LD.
انسٹال کرݨ
- Upload the plugin files to the
/wp-content/plugins/saai-knowledgedirectory, or install through the WordPress Plugins screen. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Go to Settings > SAAI Knowledge to configure URL slugs, auto-linking, structured data, and AI readability options.
- Create your first FAQ, Knowledge Base article, or Glossary term from the admin menu, and add the matching blocks (KB Sidebar, KB Table of Contents, FAQ List, Glossary Index, Knowledge Search) to your templates or pages.
ہرہک دے سوال
-
Does this work with my theme?
-
Yes. Both block themes and classic themes are supported. Block-theme users get dedicated templates for the Knowledge Base hub, category archives, and individual articles; classic-theme users get the same layout through the classic template hierarchy.
-
Do the accordions and folded content work without JavaScript?
-
Yes. FAQ answers and other collapsible content are always present in the page’s initial HTML; JavaScript only controls the open/close interaction. Search engines and AI crawlers that don’t execute JavaScript still see the full content.
-
Can I turn off the Markdown/llms.txt output?
-
Yes. A single “Markdown & llms.txt” setting controls the
?format=markdownoutput, the llms.txt index, and the SEO-plugin description integration together. The REST export endpoint and the admin-side JSONL/CSV download aren’t affected by this setting — the REST endpoint only ever returns already-public content, and the admin download requires the same capability as the rest of Settings. -
Does this include a WooCommerce integration?
-
SAAI Knowledge for WooCommerce, a companion add-on that links FAQ/KB/Glossary content to products and product categories and displays it on product pages, is planned as a separately sold, optional purchase — it isn’t available yet and is not required to use this plugin.
-
Is my content sent to any external service?
-
No. SAAI Knowledge does not call any external API or service; all processing happens on your own site.
ریویو
There are no reviews for this plugin.
Contributors & Developers
“SAAI Knowledge” is open source software. The following people have contributed to this plugin.
حصہ پاوݨ آلے“SAAI Knowledge” دا آپݨی زبان وچ ترجمہ کرو۔
ڈیویلپمنٹ وچ دلچسپی ہے؟
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
تبدیلی لاگ
1.0.1
- Translations are now delivered as language packs from translate.wordpress.org instead of being bundled with the plugin; the
languages/directory and theDomain Pathheader have been removed accordingly. - Documented the public source repository and the steps to rebuild the compiled files under
build/from the un-minified sources undersrc/. - Clarified that the SAAI Knowledge for WooCommerce add-on is not available yet.
- No functional or behavioral changes.
1.0.0
- Initial release.
