Plugin / Very Simple Knowledge Base
GuidoDescription
Description
About
This is a lightweight plugin to create a Knowledge Base, Bulletin Board, FAQ, Wiki or Link Portal.
Add the shortcode on a page or use the widget to display your categories and posts.
While adding the shortcode or the widget you can add several attributes to personalize your knowledge base.
You can also list categories and posts from a custom post type (such as “product” or “event”).
How to use
After installation create a page and add the 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 knowledge base).
Or go to Appearance > Widgets and use the widget to display your categories and posts.
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
You can add attributes to the 4 shortcodes mentioned above.
- Include certain categories:
include="1,3,5" - Exclude certain categories:
exclude="8,10,12" - Display empty categories too:
hide_empty="0" - Display category description:
description="true" - Change number of posts per category:
posts_per_page="5" - Display posts in ascending order:
order="asc" - Display posts by title:
orderby="title" - Display posts in random order:
orderby="rand" - Display number of posts (post count)
count="true" - Display post meta (date and author):
meta="true" - Display View All link:
all_link="true" - Change label of View All link:
all_link_label="your label here" - Change label of post without title:
no_title_label="your label here" - Change CSS class of knowledge base:
class="your-class-here"
Examples:
- One attribute:
[knowledgebase posts_per_page="5"] - One attribute:
[knowledgebase-two include="1,3,5"] - Multiple attributes:
[knowledgebase include="1,3,5" hide_empty="0" meta="true"]
Widget attributes
The widget supports the same attributes. You don’t have to add the main shortcode tag or the brackets.
Examples:
- One attribute:
posts_per_page="5" - Multiple attributes:
include="1,3,5" hide_empty="0" meta="true"
Post tags
Besides listing posts by category you can also list posts by tag: taxonomy="post_tag"
Custom post types
You can also list categories and posts from a custom post type (such as “product” or “event”).
To list these categories and posts you should add 2 shortcode attributes: “taxonomy” and “post_type”
You can for example list WooCommerce products:
- List products:
taxonomy="product_cat" post_type="product" - List products with product category image:
taxonomy="product_cat" post_type="product" woo_image="true" - List products by tag instead of category:
taxonomy="product_tag" post_type="product"
Link Portal
To display a list of website links you can install the Page Links To plugin.
While creating a post you can set a redirect to an URL (website) of your choice.
When you click the post link in the frontend of your website it will redirect you to this URL (so the post will not open).
Browser support
The knowledge base might not display properly 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!
Ratings
Rating breakdown
Details Information
Version
First Released
Total Downloads
Wordpress Version
Tested up to:
Require PHP Version:
Tags
Contributors
Languages
DIRECTORY DISCLAIMER
The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.
The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.
Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.
While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.
wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.