We'll create fresh WordPress site with VS Knowledge Base installed. You have 20 minutes to test the plugin after that site we'll be deleted.
With this lightweight plugin you can create a knowledge base.
Add shortcode [knowledgebase] to a page or use the widget to display your categories and posts.
You can customize your knowledge base by adding attributes to the shortcode or the widget.
This plugin can also be used to create a FAQ or wiki.
You can also display categories and posts from a custom post type (such as WooCommerce product categories and products).
After installation add shortcode [knowledgebase] to a page or use the widget to display your categories and posts.
Or go to Appearance > Widgets and use the widget to display your categories and posts.
Default settings categories:
Default settings posts:
You can customize your knowledge base by adding attributes to the shortcode or the widget.
class="your-class-here"
columns="3"
include="1,3,5"
exclude="8,10,12"
hide_empty="0"
description="true"
posts_per_page="5"
order="ASC"
orderby="title"
orderby="rand"
meta="true"
all_link="true"
all_link_label="your label here"
no_title_label="your label here"
no_categories_text="your text here"
Example: [knowledgebase include="1,3,5" hide_empty="0" meta="true"]
When using the widget, don’t add the main shortcode tag or the brackets.
Example: include="1,3,5" hide_empty="0" meta="true"
With the columns attribute you can set the number of columns between 1 and 4. In mobile screens 2 columns (except the 1 column knowledge base).
You can disable the columns with columns="0"
. This can be handy if you only want to use your own styling.
Besides displaying posts by category you can also display posts by tag: taxonomy="post_tag"
You can also display categories and posts from a custom post type (such as WooCommerce product categories and products).
To display these categories and posts you should add 2 attributes: “taxonomy” and “post_type”
WooCommerce:
taxonomy="product_cat" post_type="product"
taxonomy="product_cat" post_type="product" woo_image="true"
taxonomy="product_tag" post_type="product"
Please take a look at the FAQ section.
Translations are not included, but the plugin supports WordPress language packs.
More translations are very welcome!
The translation folder inside this plugin is redundant, but kept for reference.
Without the WordPress codex and help from the WordPress community I was not able to develop this plugin, so: thank you!
Enjoy!