Creating your first category and article

Content in WP Knowledgebase is similar to how regular posts work in WordPress. Single knowledge base articles are similar to single posts, while knowledge base categories are similar to post categories.

However, the way this content is presented by default differs slightly from native WordPress.

Understanding the categories and articles structure

Instead of displaying a list or grid of posts on the homepage or blog page, regardless of the category the posts are in, with WP Knowledgebase there’s a different approach.

On the main knowledge base page you will have a grid with the main categories, and for each one of these a list of subcategories and individual article will be display. Here’s how the structure looks like on the user’s side:

The main categories grid layout with WP Knowledgebase

As you can notice, Main Category 1 has two subcategories, namely Subcategory 1 and Subcategory 2, but also an article, Article 3. Each one of the subcategories have an article assigned to them, Article 1 and Article 2.

The second main category on the other hand, namely Main Category 2, has a simpler structure, where it only has articles as children.

With this kind of hierarchical relationship, you can structure your knowledge base content as tightly or as loosely as you consider it fit.

Adding a new category

Now that you have an overview of how categories and article are structured, let’s add a new category.

  1. Firstly, navigate to your WordPress admin dashboard > Knowledgebase > Categories.
  2. Here, from the side form, type in a name, a slug and a description for your new category. Optionally, if this is a child category, select the parent category.Adding a new category from WordPress admin area in WP Knowledgebase
  3. Click the Add New Knowledgebase Category button to create the new category.

Adding a new article

With at least one category added, you can go ahead and create a knowledge base article. Here’s how you can do it:

  1. Navigate to your WordPress admin dashboard > Knowledgebase > Articles > New Article.
  2. Here, set a title and add the article’s content.
  3. Before saving the article, make sure to add it to the appropriate category. Please note that articles without a category will not show up on the user’s end.

Fixing the 404 error for categories and articles

With your first category and article published, let’s navigate to your main page and check if everything is working.

On your knowledge base main page you should have the main category and the first article. Click on the article. In certain instances, instead of the article, a 404 page will load.

To make sure the article is loaded properly, please try the following:

  1. Navigate to your WordPress admin dashboard > Settings > Permalinks.Permalink settings menu in WordPress admin dashboard
  2. Here, without modifying anything, save the changes. This will rebuild the permalink information, leading to the knowledge base articles loading properly.

If you’re still having any issues with the knowledge base articles or pages, please contact us here and describe the issue as detailed as possible.

Was this page helpful?

Do you have any feedback or suggestions to improve this page?