跳到内容

Webxpart Documentation Hub

v1.0.0

webxpart · 2026年8月24日 上架

A lightweight documentation and knowledge base plugin that works with any theme without breaking your design.

正在使用
10 以下
评分
暂无
累计下载
250
最近更新
2026年8月24日
需要 WordPress 5.9+已测试到 7.0.9PHP 7.2+

贡献者

Webxpart Documentation Hub adds a full documentation / knowledge base system to WordPress:

  • Multiple documentations — run as many separate documentations as you like on one site (e.g. “User Guide”, “Developer API”), each with its own home, its own sidebar tree and its own URL space.
  • Unlimited nesting — a documentation is simply a top-level doc; everything beneath it becomes its sections and articles, to any depth.
  • Reader feedback — a “Was this page helpful?” prompt on every doc, with an optional comment when the answer is no.
  • Insights — see your lowest-rated docs, your most-read docs, and the searches that returned nothing at all. That last list is your writing backlog.
  • Access control — keep a documentation public, restrict it to logged-in users, or limit it to chosen roles. Restricted docs disappear from the sidebar, the search results and direct links.
  • Live AJAX search — instant results as you type, scoped to docs only.
  • Automatic table of contents — generated from your headings, with scroll-spy highlighting.
  • Breadcrumbs & prev/next navigation — plus a collapsible documentation sidebar.
  • Works with any theme — your theme renders the page; Webxpart Documentation Hub only fills the content area. All CSS is namespaced under a single wrapper class, so nothing leaks in or out. Nothing to configure to “make it fit.”

Two design modes

Under Webxpart Documentation Hub Settings Design mode you can choose how docs look:

  • Self-contained (default) — docs get their own polished, fully scoped styling with automatic dark mode. Pixel-consistent on every theme.
  • Inherit theme styles — docs adopt your active theme’s fonts, colours and content styling. Webxpart Documentation Hub adds layout only, and tints its UI from your theme’s own text colour, so the docs blend seamlessly into your site.

Why it doesn’t break your theme

Every style rule is scoped under the .wxdh wrapper, and the wrapper carries its own local CSS reset and explicit base typography. That means your theme’s CSS cannot distort the docs, and the plugin’s CSS cannot escape to restyle the rest of your site. Re-skinning is done by overriding a few CSS custom properties (variables) — no template hacking required.

Shortcodes

  • [wxdh] — full documentation layout (search + sidebar + a card for each documentation).
  • [wxdh set="developer-api"] — the same layout scoped to one documentation. Accepts a slug or an ID.
  • [wxdh_search] — a live search box you can place anywhere.
  • [wxdh_list] — a grid of all documentations. ([wxdh_categories] still works as an alias.)

Template overrides

Copy any file from the plugin’s /templates/ folder into your-theme/wxdh/ to customise it safely — it will survive plugin updates.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums