
Knowledge Base
With this lightweight plugin you can create a knowledge base that contains your categories and posts.
Main features of the plugin:
With this plugin you can also create a FAQ or wiki in the same way as a knowledge base.
After installation make sure you already have some categories and posts.
Go to the editor and add the VS Knowledge Base block or the shortcode [knowledgebase] to a page. This will display your knowledge base.
Or go to Appearance > Widgets and use the VS Knowledge Base widget.
Default settings categories:
Default settings posts:
Customize your knowledge base with attributes.
You can customize your knowledge base by adding attributes to the block, shortcode or widget.
class="your-class-name"columns="3"columns="0"include="1,3,5"exclude="8,10,12"hide_empty="0"posts_per_category="5"order="ASC"orderby="title"orderby="rand"category_link="false"category_description="true"post_count="true"post_meta="true"view_all_link="true"view_all_link_label="your label"no_post_title_label="your label"no_categories_text="your text"Example: [knowledgebase include="1,3,5" hide_empty="0" post_meta="true"]
When using the block or the widget, don’t add the main shortcode tag or the brackets.
Example: include="1,3,5" hide_empty="0" post_meta="true"
With the columns attribute you can set the number of columns between 1 and 4.
In small screens max 2 colums.
You can disable the columns in favour of your own styling.
The columns attribute will be ignored when using the block or widget. Because you can set the columns via the block or widget settings.
Besides displaying posts by category you can also display posts by tag: taxonomy="post_tag"
It’s also possible to 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 help and support from the WordPress community I was not able to develop this plugin, so thank you!