Knowledge Base

外掛說明

Knowledge Base is an easy to use WordPress plugin that allows you to create a knowledge base / FAQ section on your WordPress blog.

This is perfect if you have single or multiple products and want a single knowledge base with little effort.

The plugin was born after I tried several free plugins and themes out there and that couldn’t fit my purpose. It’s designed to be very easy to install and use out of the box.

You can view a live demo of my own knowledge base.

Terminology

  • Articles: A custom post type wz_knowledgebase is used to store all the knowledge base articles
  • Sections: A custom taxonomy ( kbcategory ) used to create the knowledge base. You will need at least one category in order to display the knowledge base. These categories can be added under Knowledge Base > Sections
  • Tags: Additionally you can use tags ( kbtags ) can also be used for each knowledge base article.

Main features

  • Supports unlimited knowledge bases using different sections with unlimited nested levels
  • Inbuilt styles that display the knowledge beautifully and are fully responsive – Uses the Responsive Grid System
  • Customizable permalinks: Archives are enabled so your knowledge base can be viewed at /knowledgebase/ automatically on activation. You can change this in the Settings page
  • Shortcode: [knowledgebase] will allow you to display the knowledge base on any page of your choosing. For other shortcodes, check the FAQ
  • Gutenberg block: You can display the knowledge base using a block. Find it by typing kb or knowledge base when adding a new block
  • Breadcrumbs: Default templates include breadcrumbs. Alternatively, use functions or shortcode to display this where you want
  • Widgets: WZKB Articles, WZKB Sections and WZKB Breadcrumbs
  • Inbuilt cache to speed up the display of your knowledge base articles

Contribute

If you have an idea, I’d love to hear it. WebberZone Knowledge Base is also available on Github. You can create an issue on the Github page or, better yet, fork the plugin, add a new feature and send me a pull request.

螢幕擷圖

  • Knowledge Base Menu in the WordPress Admin
  • Knowledge Base Viewer Facing with Default styles
  • Knowledge Base alerts
  • Settings » General
  • Settings » Output
  • Settings » Styles
  • Knowledge Base widgets

適用於區塊編輯器

這個外掛提供 2 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Knowledge Base Display the Knowledge Base
  • Knowledge Base Alerts Display alerts for WZ Knowledge Base

安裝方式

WordPress install (The easy way)

  1. Navigate to “Plugins” within your WordPress Admin Area
  2. Click “Add new” and in the search box enter “Knowledgebase” or “Knowledge Base”
  3. Find the plugin in the list (usually the first result) and click “Install Now”
  4. Activate or Network activate the Plugin in WP-Admin under the Plugins screen

Manual install

  1. Download the plugin
  2. Extract the contents of knowledgebase.zip to wp-content/plugins/ folder. You should get a folder called knowledgebase.
  3. Activate or Network activate the Plugin in WP-Admin under the Plugins screen

Usage

  1. Visit Knowledge Base » Sections to add new categories to the knowledge base
  2. Visit Knowledge Base » Add New to add new Articles to the knowledge base. You can select a section from there while adding
  3. Optionally, create a new page or edit an existing one and add the shortcode [knowledgebase] or use the block to set up this page to display the knowledgebase

The plugin supports unlimited levels of category hierarchy. To build a multiple product knowledge base:

  1. Set the First section level under the Output tab to 2
  2. Create a set of top level sections for each product
  3. Create sub-sections for each of the products

This live demo is a working example of a multi-product knowledge base.

常見問題集

If your answer to your question isn’t listed here or the Knowledge Base, please create a new post at the WordPress.org support forum. It is the fastest way to get support as I monitor the forums regularly. I also provide premium paid support via email.

404 errors on the knowledge base

This is usually because of outdated permalinks. To flush the existing permalinks rules simply visit Settings » Permalinks in your WordPress admin area.

Shortcodes

Refer to this Knowledge Base article to details of all the shortcodes included in the plugin.

Using your own templates for archives and search

WebberZone Knowledge Base comes inbuilt with a set of custom templates to display archives of the articles, category archives as well as search results. You can easily override any of these templates by creating your own template in your theme’s folder

  1. Article view: single-wz_knowledgebase.php
  2. Articles archive: archive-wz_knowledgebase.php
  3. Category archive: taxonomy-wzkb_category.php
  4. Search results: search-wz_knowledgebase.php

How do I sort the posts or sections?

The plugin doesn’t have an inbuilt feature to sort posts or sections. You will need an external plugin like Intuitive Custom Post Order which allows you to easily drag and drop posts, sections or tags to display them in a custom order.

使用者評論

閱讀全部 2 則使用者評論

參與者及開發者

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

參與者

將〈Knowledge Base〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.1.1 – 30 January 2022

Release post: https://webberzone.com/blog/knowledge-base-v2-1-0/

  • Enhancements:

    • New options to set number of articles and to show excerpt in the widget
  • Bug fixes:

    • Update activation on multisite when a new blog is added
    • PHP errors when using the widget

2.1.0 – 8 January 2022

  • Features:

    • New related articles module. Enable/disable in the settings page
    • New Gutenberg block for alerts. Original knowledge base block has been upgraded to use block.json
  • Enhancements:

    • wzkb_knowledge function takes additional parameters that override global settings if passed
    • Additional settings added for Knowledge Base block
  • Bug fixes:

    • Fixed Custom CSS loaded incorrectly with a 0 on install/reset
    • Dashicons were not properly loaded on frontend

Earlier versions

For the changelog of earlier versions, please refer to the separate changelog.txt file or the Github releases page