| 开发者 | editant |
|---|---|
| 更新时间 | 2026年11月6日 20:14 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/ directory, or install it via Plugins -> Add New.The index is at /docs and each article is at /docs/<article-slug>. Both are drawn and styled by the plugin, so they look the same on any theme.
Yes. Go to editant Docs -> Settings and set the URL base to whatever you like, for example "help" or "kb". The links update as soon as you save, with no need to touch the Permalinks screen. Changing the base means existing links to the old address stop working. Developers can still override the base with the editant_docs_archive_base filter.
Yes. The plugin renders its own single-article and index layouts and ships its own styling and fonts, so it works identically on block themes and classic themes without any theme configuration.
On the editant Docs Settings page you can keep the editant header, replace it with your own logo and/or name, or hide the header entirely, and set an accent colour to match your brand. You can also change the label shown on the index, for example to "Help" or "Knowledge base".
Sample content is optional and never installed automatically. Go to editant Docs -> Settings and click "Load sample content" to add a few neutral categories and articles that are safe to edit or delete. "Remove sample content" deletes only what the plugin added, never your own articles.
If you prefer the command line, the same content can be loaded with WP-CLI:
wp eval-file wp-content/plugins/editant-docs/bin/seed.php
Go to editant Docs -> Export and import and click "Download export file". On the other site, install editant Docs, open the same page, choose the file and click Import. Categories keep their hierarchy and order, and articles keep their order, status and categories. Articles and categories that already exist on the other site, matched by slug, are skipped unless you choose to update them. Settings are imported only if you tick "Also import settings", and your logo is never replaced. Images in articles are not copied; they keep their links to the original site. To move only some articles, select them on the articles list and choose "Export selected" from the bulk actions. The category filter above the list helps you find them. Their categories come with them. WordPress's own Tools -> Export also includes documentation articles, but importing that file loses category order and resets some article order, so use the plugin's export instead.
No. Uninstalling removes only the plugin's settings row. Your documentation articles and categories are your content and are left untouched. Delete them yourself first if you want them gone.