| 开发者 | mahlamusa |
|---|---|
| 更新时间 | 2026年11月1日 21:00 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[licensio_kb_search], [licensio_kb_articles], [licensio_kb_categories], [licensio_kb_breadcrumbs], [licensio_kb_faq]), and the sidebar is available as [licensio_kb_sidebar], so page builders and classic themes get identical markup.licensio_kb_use_content_manager filter.wp licensio-kb reindex from WP-CLI.licensio_.licensio-kb/v1 for search, feedback, analytics and settings.manage_licensio_kb capability, granted to administrators and editors, controls the management screens.licensio-knowledge-base text domain.licensio-knowledge-base folder to /wp-content/plugins/./docs/ by default. The plugin creates its own database tables on activation. On a multisite network it creates them per site, including for sites added later.No. The plugin is entirely standalone: no e-commerce plugin, no page builder and no external service. Install it on a bare WordPress site and it works.
Yes. Classic themes get the plugin's own PHP templates, and block themes get Site Editor templates. Both use the same stylesheet, which sets no colours or fonts of its own: text, links and fonts come from your theme. The optional brand colour, layout width and card style settings fine-tune the match.
Yes. Copy any file from the plugin's templates/ directory into a licensio-kb/ directory in your theme and edit it there.
This works for block themes too. The five block templates (Single Article, Article Archive, Article Category, Article Tag and Article Search Results) each render the knowledge base layout as one Knowledge Base View block, which outputs the same *-body.php file the classic templates use. The Site Editor shows a live preview of that layout, filled with your newest article or a category or tag that has articles. You can still change the header and footer template parts, add blocks before or after the knowledge base layout, or reset a template to the plugin's copy. To change the layout itself, copy the matching body file (archive-body.php, category-body.php, single-body.php, tag-body.php or search-body.php) into licensio-kb/ in your theme, or use the plugin's licensio_ actions and filters.
A template you customise in the Site Editor is saved as your own copy and keeps the layout it was saved with. If you customised Single Article, Article Tag or Article Search Results before the knowledge base layout moved into the Knowledge Base View block, reset that template in the Site Editor to get the current layout.
Yes. Under Knowledge Base > Settings > Slugs and permalinks you can set the article, category and tag bases, and choose whether category URLs include their parent categories.
Enter a URL under Knowledge Base > Settings > Sidebar > Support URL, such as your contact page. The card stays hidden while the field is empty.
No. Search runs against a table in your own database, using MySQL FULLTEXT indexing where your server supports it and a portable fallback where it does not.
No. Visitors are identified by a salted hash that rotates every day, which is enough to avoid double-counting a page view but not enough to re-identify anyone. No IP address is written to any table. See the Privacy section below.
Yes. The import wizard under Knowledge Base > Tools carries over articles, categories, tags, votes, views and searches, sets up redirects from the old URLs, and can be run with a dry run first. The old plugin does not need to be active.
Nothing. Deactivating leaves all content and data in place. Data is only removed when you delete the plugin, and then only if you have turned on Delete everything on uninstall under Knowledge Base > Settings > Privacy. With it on, deleting the plugin drops its tables (feedback and votes, the search index, search and view history, and the import log) and deletes the settings (including the permalink slugs), the import redirects, the import URL map files and the request rate-limit counters. With it off, all of that is kept. Either way, deleting the plugin removes WordPress's cached category hierarchy, the manage_licensio_kb capability and the article capabilities from every role that holds them, including roles you granted them to by hand. Articles, categories and tags are never deleted by uninstall.
Administrators and editors. Both are given the manage_licensio_kb capability on activation, and you can grant it to other roles with any role editor.
Yes, the same way they write posts. Authors create, edit, publish and delete their own articles; contributors write their own drafts and submit them for review. Both can file articles under existing categories and tags, but not create new ones. In Knowledge Base > All Articles they see only their own articles. Categories, Tags, Settings, Tools, Analytics and Feedback stay with administrators and editors. The article capabilities (edit_licensio_articles, publish_licensio_articles and the rest) can be changed per role with any role editor. The plugin grants them when it is activated and never overrides a capability you have explicitly denied.
No. The licensio_kb_use_content_manager filter can only switch the apps off. When Classic screens is turned on under Knowledge Base > Settings > General, the setting wins and the core screens stay, whatever the filter returns.
Yes. Every string is translatable under the licensio-knowledge-base text domain, and a .pot file ships in languages/.