{"id":137,"date":"2020-10-26T07:35:38","date_gmt":"2020-10-26T07:35:38","guid":{"rendered":"https:\/\/usewpknowledgebase.com\/?post_type=kbe_knowledgebase&#038;p=137"},"modified":"2020-10-26T07:50:57","modified_gmt":"2020-10-26T07:50:57","slug":"set-up-plugin","status":"publish","type":"kbe_knowledgebase","link":"https:\/\/usewpknowledgebase.com\/docs\/set-up-plugin\/","title":{"rendered":"How to set up WP Knowledgebase"},"content":{"rendered":"\n<p>Once you install WP Knowledgebase, you need to take a few steps to make sure your knowledge base is working the way you want it to. This article will cover these very steps, so let&#8217;s dive in.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating your knowledge base&#8217;s main page<\/h2>\n\n\n\n<p>After you activate the plugin for the very first time, you&#8217;ll be welcomed with an admin notification asking if you&#8217;d like the plugin to create the knowledge base&#8217;s main page. Here&#8217;s how it looks:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1358\" height=\"324\" src=\"https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/1-knowledge-base-main-page-admin-notice.png\" alt=\"WP Knowledgebase admin notification once you activate plugin\" class=\"wp-image-142\" srcset=\"https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/1-knowledge-base-main-page-admin-notice.png 1358w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/1-knowledge-base-main-page-admin-notice-300x72.png 300w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/1-knowledge-base-main-page-admin-notice-1024x244.png 1024w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/1-knowledge-base-main-page-admin-notice-768x183.png 768w\" sizes=\"auto, (max-width: 1358px) 100vw, 1358px\" \/><\/figure>\n\n\n\n<p>If you click the <strong>Create page<\/strong> button, the plugin will create a new page for you, named <strong>Knowledgebase<\/strong>. This page&#8217;s content will only contain the <strong>[kbe_knowledgebase]<\/strong> shortcode.<\/p>\n\n\n\n<p><strong>Please note:<\/strong> to have the plugin working properly, this page is mandatory.<\/p>\n\n\n\n<p>If you wish to have full control over the creation of this page and choose to manually add it, please follow these steps:<\/p>\n\n\n\n<ol class=\"step-by-step wp-block-list\"><li>Navigate to your <strong>WordPress admin dashboard &gt; Pages &gt; Add New<\/strong>.<\/li><li>Here, set the page&#8217;s title and slug. We suggest going with something simple, for example <strong>Knowledgebase<\/strong> for the title and <strong>knowledgebase<\/strong> for the slug, or <strong>Documentation<\/strong> for the title and <strong>documentation<\/strong> for the slug. Or why not <strong>KB<\/strong> and <strong>kb<\/strong>, or <strong>Docs<\/strong> and <strong>docs<\/strong>.<\/li><li>Add the <strong>[kbe_knowledgebase]<\/strong> as the content of the page, either writing it directly (in the Classic Editor) or adding a shortcode block for it (in the Gutenberg Editor).<img loading=\"lazy\" decoding=\"async\" width=\"2180\" height=\"1112\" src=\"https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/2-docs-page-knowledge-base.png\" alt=\"Knowledge base main page setup in WordPress admin area\" class=\"wp-image-143\" srcset=\"https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/2-docs-page-knowledge-base.png 2180w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/2-docs-page-knowledge-base-300x153.png 300w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/2-docs-page-knowledge-base-1024x522.png 1024w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/2-docs-page-knowledge-base-768x392.png 768w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/2-docs-page-knowledge-base-1536x784.png 1536w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/2-docs-page-knowledge-base-2048x1045.png 2048w\" sizes=\"auto, (max-width: 2180px) 100vw, 2180px\" \/><\/li><li>Navigate to <strong>Knowledgebase &gt; Settings<\/strong> and select this newly created page in the <strong>General Settings (section) &gt; Knowledgebase Main Page<\/strong> field.<img loading=\"lazy\" decoding=\"async\" width=\"1406\" height=\"598\" src=\"https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/3-wp-knowledgebase-setting-main-page.png\" alt=\"Selecting the main knowledge base page in WP Knowledgebase settings\" class=\"wp-image-144\" srcset=\"https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/3-wp-knowledgebase-setting-main-page.png 1406w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/3-wp-knowledgebase-setting-main-page-300x128.png 300w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/3-wp-knowledgebase-setting-main-page-1024x436.png 1024w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/3-wp-knowledgebase-setting-main-page-768x327.png 768w\" sizes=\"auto, (max-width: 1406px) 100vw, 1406px\" \/><\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Setting your knowledge base&#8217;s slugs<\/h2>\n\n\n\n<p>WP Knowldgebase uses WordPress&#8217; <strong>custom post types<\/strong> and <strong>taxonomies<\/strong> to manage content. If you&#8217;re not familiar with these terms, the important thing to know is that the plugin uses the same mechanisms WordPress uses for posts and pages.<\/p>\n\n\n\n<p>By default, to make sure the plugin doesn&#8217;t break your website by overwriting anything from other plugins, the custom post type is named <strong>kbe_knowledgebase<\/strong>, while the category taxonomy is named <strong>kbe_taxonomy<\/strong>. As you can notice, not very appealing.<\/p>\n\n\n\n<p>Luckily, with WP Knowledgebase you can overwrite these values with something human friendly. To do it:<\/p>\n\n\n\n<ol class=\"step-by-step wp-block-list\"><li>Navigate to your <strong>WordPress admin dashboard &gt; Knowledgebase &gt; Settings &gt; General Settings (tab)<\/strong>.<\/li><li>Set the <strong>Knowledgebase Slug<\/strong> option to something like <strong>knowledgebase<\/strong> or <strong>documentation<\/strong>. Our recommendation with this is to have the main page&#8217;s slug (the one set in the previous section) match this value. For example, if your knowledge base&#8217;s main page title is <strong>Documentation<\/strong>, with the slug <strong>documentation<\/strong>, the value for the <strong>Knowldegase Slug<\/strong> is recommended to be <strong>documentation<\/strong>.<img loading=\"lazy\" decoding=\"async\" width=\"1406\" height=\"598\" src=\"https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/4-wp-knowledgebase-setting-slug.png\" alt=\"Setting the custom post type slug in WP Knowledgebase admin area\" class=\"wp-image-145\" srcset=\"https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/4-wp-knowledgebase-setting-slug.png 1406w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/4-wp-knowledgebase-setting-slug-300x128.png 300w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/4-wp-knowledgebase-setting-slug-1024x436.png 1024w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/4-wp-knowledgebase-setting-slug-768x327.png 768w\" sizes=\"auto, (max-width: 1406px) 100vw, 1406px\" \/><\/li><li>Set the <strong>Knowledgebase Category Slug<\/strong> to something like <strong><strong>knowledgebase<\/strong>-category<\/strong> or <strong>documentation-category<\/strong>. This will turn your knowledge base&#8217;s category URL into something like this: https:\/\/yourwebsite.com\/<strong><strong>knowledgebase<\/strong>-category<\/strong>\/slug-of-category. However, if you&#8217;d like your URL to be more sectioned, you can set the category slug to something similar to <strong>documentation\/category<\/strong>, matching the string before the slash to the knowledge base&#8217;s slug, the one set above. This will turn you category URL into something like this: htts:\/\/yourwebsite.com\/<strong>documentation\/category<\/strong>\/slug-of-category.<img loading=\"lazy\" decoding=\"async\" width=\"1406\" height=\"598\" src=\"https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/5-wp-knowledgebase-setting-category-slug.png\" alt=\"Setting the category taxonomy slug in WP Knowledgebase admin area\" class=\"wp-image-146\" srcset=\"https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/5-wp-knowledgebase-setting-category-slug.png 1406w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/5-wp-knowledgebase-setting-category-slug-300x128.png 300w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/5-wp-knowledgebase-setting-category-slug-1024x436.png 1024w, https:\/\/usewpknowledgebase.com\/wp-content\/uploads\/2020\/10\/5-wp-knowledgebase-setting-category-slug-768x327.png 768w\" sizes=\"auto, (max-width: 1406px) 100vw, 1406px\" \/><\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Creating your first category and article<\/h2>\n\n\n\n<p>Now that the basics are set up, you can go ahead and add your first bits of content for your users.<\/p>\n\n\n\n<p>In the next article, we&#8217;ll cover categories and articles. <a href=\"https:\/\/usewpknowledgebase.com\/blog\/docs\/create-category-and-article\/\" data-type=\"kbe_knowledgebase\" data-id=\"139\">Click here to jump right to it<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Once you install WP Knowledgebase, you need to take a few steps to make sure your knowledge base is working the way you want it to. This article&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","kbe_taxonomy":[8],"kbe_tags":[],"class_list":["post-137","kbe_knowledgebase","type-kbe_knowledgebase","status-publish","hentry","kbe_taxonomy-getting-started"],"_links":{"self":[{"href":"https:\/\/usewpknowledgebase.com\/wp-json\/wp\/v2\/kbe_knowledgebase\/137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/usewpknowledgebase.com\/wp-json\/wp\/v2\/kbe_knowledgebase"}],"about":[{"href":"https:\/\/usewpknowledgebase.com\/wp-json\/wp\/v2\/types\/kbe_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/usewpknowledgebase.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/usewpknowledgebase.com\/wp-json\/wp\/v2\/comments?post=137"}],"version-history":[{"count":9,"href":"https:\/\/usewpknowledgebase.com\/wp-json\/wp\/v2\/kbe_knowledgebase\/137\/revisions"}],"predecessor-version":[{"id":153,"href":"https:\/\/usewpknowledgebase.com\/wp-json\/wp\/v2\/kbe_knowledgebase\/137\/revisions\/153"}],"wp:attachment":[{"href":"https:\/\/usewpknowledgebase.com\/wp-json\/wp\/v2\/media?parent=137"}],"wp:term":[{"taxonomy":"kbe_taxonomy","embeddable":true,"href":"https:\/\/usewpknowledgebase.com\/wp-json\/wp\/v2\/kbe_taxonomy?post=137"},{"taxonomy":"kbe_tags","embeddable":true,"href":"https:\/\/usewpknowledgebase.com\/wp-json\/wp\/v2\/kbe_tags?post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}