Title: Webxpart Documentation Hub
Author: webxpart
Published: <strong>2026 年 8 月 24 日</strong>
Last modified: 2026 年 8 月 24 日

---

搜尋外掛

![](https://ps.w.org/webxpart-documentation-hub/assets/banner-772x250.png?rev=3662499)

![](https://ps.w.org/webxpart-documentation-hub/assets/icon-256x256.png?rev=3662499)

# Webxpart Documentation Hub

 由 [webxpart](https://profiles.wordpress.org/webxpart/) 開發

[下載](https://downloads.wordpress.org/plugin/webxpart-documentation-hub.1.0.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/webxpart-documentation-hub/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/webxpart-documentation-hub/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/webxpart-documentation-hub/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/webxpart-documentation-hub/#developers)

 [技術支援](https://wordpress.org/support/plugin/webxpart-documentation-hub/)

## 外掛說明

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.

## 安裝方式

 1. Upload the `webxpart-documentation-hub` folder to `/wp-content/plugins/`, or install
    the ZIP via Plugins  Add New  Upload Plugin.
 2. Activate the plugin.
 3. Go to **Webxpart Documentation Hub  Documentations** and create your first documentation,
    then use “Add child” to build out its sections and articles.
 4. Create a page (e.g. “Documentation”) containing the `[wxdh]` shortcode, then select
    it under **Webxpart Documentation Hub  Settings  Documentation home**. Your theme
    renders that page normally, so the docs sit inside your own header and footer.
 5. Configure the remaining options under **Webxpart Documentation Hub  Settings**.

## 常見問題集

### Does it work with my theme?

Yes. Webxpart Documentation Hub never renders the page itself — your theme does,
exactly as it does for any other post or page. The plugin only adds its doc UI inside
the content area, wrapped in an isolated, self-contained container. This works the
same on classic and block (FSE) themes.

### Can I change the colours?

Yes — override the CSS variables (e.g. `--wxdh-accent`) on the `.wxdh` selector 
in your theme’s stylesheet. Dark mode is automatic based on the visitor’s system
preference.

### What data does the plugin collect?

Only what it needs to show you the Insights screen, and all of it stays in your 
own database — nothing is ever sent anywhere.

Search analytics store the search term and how many results it returned. Feedback
stores the vote, any comment left, and a salted one-way hash built from the visitor’s
IP address and browser. The hash exists solely to stop the same person voting twice
on one page; the IP address itself is never stored and cannot be recovered from 
it. No cookies are set, and no personal data is collected.

Both features can be switched off under **Webxpart Documentation Hub  Settings**,
and everything recorded can be deleted at any time from **Webxpart Documentation
Hub  Insights**.

### Will my docs be deleted if I uninstall?

No. Your docs and categories stay in the database and reappear if you install the
plugin again.

Uninstalling removes the plugin’s own data only: its settings, the feedback and 
search-analytics tables, and the per-doc counters (views and helpful/unhelpful votes)
stored as post meta.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Webxpart Documentation Hub〉的開發相關工作。

參與者

 *   [ webxpart ](https://profiles.wordpress.org/webxpart/)

[將〈Webxpart Documentation Hub〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/webxpart-documentation-hub)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/webxpart-documentation-hub/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/webxpart-documentation-hub/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/webxpart-documentation-hub/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/webxpart-documentation-hub/)。

## 變更記錄

#### 1.0.0

 * Initial release.
 * Multiple documentations, each a top-level doc with unlimited nesting beneath 
   it.
 * Reader feedback (“Was this page helpful?”) with an optional comment on negative
   votes.
 * Insights screen: lowest-rated docs, most-viewed docs, top searches and searches
   that returned nothing.
 * Access control per documentation: public, logged-in only, or restricted to chosen
   roles.
 * Documentations admin screen for building and reordering the tree.
 * Live AJAX search, automatic table of contents, breadcrumbs and previous/next 
   navigation.
 * Shortcodes: `[wxdh]`, `[wxdh set="..."]`, `[wxdh_search]` and `[wxdh_list]`.
 * Self-contained or theme-inheriting design modes, with automatic dark mode.

## 中繼資料

 *  版本 **1.0.0**
 *  最後更新 **1 週前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.9 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0.4**
 *  PHP 版本需求 ** 7.2 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/webxpart-documentation-hub/)
 * 標籤:
 * [docs](https://tw.wordpress.org/plugins/tags/docs/)[documentation](https://tw.wordpress.org/plugins/tags/documentation/)
   [help center](https://tw.wordpress.org/plugins/tags/help-center/)[knowledge base](https://tw.wordpress.org/plugins/tags/knowledge-base/)
   [wiki](https://tw.wordpress.org/plugins/tags/wiki/)
 *  [進階檢視](https://tw.wordpress.org/plugins/webxpart-documentation-hub/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/webxpart-documentation-hub/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/webxpart-documentation-hub/reviews/)

## 參與者

 *   [ webxpart ](https://profiles.wordpress.org/webxpart/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/webxpart-documentation-hub/)