Very Simple Knowledge Base

Description

About

This is a very simple plugin to create a responsive Knowledge Base, Bulletin Board, FAQ, Wiki or Link Portal.

Use a shortcode to display your categories and posts on a page or use the widget.

While adding the shortcode or the widget you can add several attributes to personalize your knowledgebase.

Custom post types (such as products and events) are supported too.

How to use

After installation create a page and add a shortcode to display your categories and posts:

  • For 1 column: [knowledgebase-one]
  • For 2 columns: [knowledgebase-two]
  • For 3 columns: [knowledgebase-three]
  • For 4 columns: [knowledgebase]

In mobile screens 2 columns (except the 1 column knowledgebase).

Default settings categories:

  • Ascending order (A-Z)
  • Empty categories are hidden
  • Parent and subcategories are listed separately

Default settings posts:

  • Descending order (by date)
  • All posts are displayed

Shortcode attributes

  • Set amount of posts for each category: [knowledgebase posts_per_page=5]
  • Include certain categories: [knowledgebase include=1,3,5]
  • Exclude certain categories: [knowledgebase exclude=8,10,12]
  • Display empty categories too: [knowledgebase hide_empty=0]
  • Display posts in ascending order: [knowledgebase order=asc]
  • Display posts by title: [knowledgebase orderby=title]
  • Display posts in random order: [knowledgebase orderby=rand]
  • Display amount of posts on right side of category title [knowledgebase count="true"]
  • Display category description: [knowledgebase description="true"]
  • Display post meta (date and author): [knowledgebase meta="true"]
  • Change default label of post without title: [knowledgebase no_title="your label here"]

You can also add multiple attributes. Use a single whitespace to separate multiple attributes.

  • Example: [knowledgebase include=1,3,5 hide_empty=0 meta="true"]

Custom post types

Custom post types (such as products and events) are supported too.

To list custom post types you should add 2 shortcode attributes: “taxonomy” and “post_type”

If a custom post type uses the native “category” taxonomy, you don’t have to add shortcode attribute “taxonomy”.

  • List WooCommerce products: [knowledgebase taxonomy="product_cat" post_type="product"]
  • With image of product category: [knowledgebase taxonomy="product_cat" post_type="product" woo_image="true"]

Widget attributes

The widget supports the same attributes. Enter them without shortcode itself and without brackets.

Example 1:

  • If shortcode attribute is: [knowledgebase posts_per_page=5]
  • Widget attribute will be: posts_per_page=5

Example 2:

  • If shortcode attribute is: [knowledgebase no_title="your label here"]
  • Widget attribute will be: no_title="your label here"

Link Portal

To display a list of website links you can install the Page Links To plugin.

While creating a post you can add the URL (website) of your choice.

When you click the post link in frontend it will redirect you to this URL (so the post will not open).

Browser support

The knowledgebase might not display 100% in IE8 and older because I have used css selector “nth-of-type”.

Question?

Please take a look at the FAQ section.

Translation

Not included but plugin supports WordPress language packs.

More translations are very welcome!

Credits

Without the WordPress codex and help from the WordPress community I was not able to develop this plugin, so: thank you!

Enjoy!

Screenshots

  • Very Simple Knowledge Base 4 columns (Twenty Seventeen theme).
  • Very Simple Knowledge Base 2 columns (Twenty Seventeen theme).
  • Very Simple Knowledge Base WooCommerce products (Twenty Seventeen theme).
  • Very Simple Knowledge Base widget (Dashboard).

Installation

Please check Description section for installation info.

FAQ

Installation Instructions

Please check Description section for installation info.

Where is the settingspage?

Plugin has no settingspage, use a shortcode with attributes or the widget with attributes to make it work.

Where to find the category ID?

Each category URL contains an unique ID. You will find this ID when hovering the category title in your dashboard or when editing the category.

It’s the number that comes after: tag_ID=

Is it possible to list a subcategory underneath it’s parent?

No, this is currently not possible. Parent and subcategories are listed separately.

What is the default label of a post without title?

If a post has no title it will be displayed in frontend with a default (translated) label: (no title)

You can change this label using an attribute.

How can I make a donation?

You like my plugin and you’re willing to make a donation? Nice! There’s a PayPal donate link on the WordPress plugin page and my website.

Other question or comment?

Please open a topic in plugin forum.

Reviews

Very nice and easy to use plugin

I really like this plugin. It’s simple and had almost everything I was looking for, and that is to display all Posts in a sitemap view categorized by Categories. Thank you so much.

Simple and effective, lots of possibilities

I really like this plugin because you can create a knowledge base structure without installing a heavy plugin. It also has the ability to create MANY different post lists for different sections of your site (not just a knowledgebase), such as video lists, LMS, podcasts…

AND IT SUPPORTS CUSTOM POST TYPES!

Read all 10 reviews

Contributors & Developers

“Very Simple Knowledge Base” is open source software. The following people have contributed to this plugin.

Contributors

“Very Simple Knowledge Base” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “Very Simple Knowledge Base” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

Version 4.1

  • all shortcode files: updated label of post without title
  • it now also links to the post
  • updated readme file

Version 4.0

  • added file uninstall (to remove widget settings upon uninstall)
  • updated file vskb-style
  • updated readme file

Version 3.9

  • fix: post title check not supported in php 5.4 and older (thanks dhjdhj)
  • few minor changes

Version 3.8

  • new: display your categories and posts in 1 column
  • new: display your categories and posts in a widget
  • new attribute: display event meta (date and author)
  • added files vskb-one-column and vskb-widget
  • removed all faqs from readme file which refer back to the description section
  • updated most files

Version 3.7

  • best practice: removed closing PHP tag from most files
  • best practice: added newline at end of most files

For all versions please check file changelog.