{"id":399,"date":"2017-03-13T17:35:11","date_gmt":"2017-03-13T16:35:11","guid":{"rendered":"https:\/\/codesavory.com\/demo\/?post_type=knowledgebase&#038;p=399"},"modified":"2021-03-15T18:33:09","modified_gmt":"2021-03-15T17:33:09","slug":"using-widgets","status":"publish","type":"knowledgebase","link":"https:\/\/basepresskb.com\/docs\/knowledge-base\/adding-content\/using-widgets\/","title":{"rendered":"Using  Widgets"},"content":{"rendered":"<p>BasePress widgets allow you to add different functionality and features to your WordPress knowledge base sidebars without writing any code.<\/p>\n<p>Navigate to <em>Appearance &gt;Widgets<\/em> in the WordPress menu and follow the standard procedure to <a href=\"https:\/\/wordpress.org\/support\/article\/wordpress-widgets\/\">add widgets<\/a>. You&#8217;ll find a new widget area called <em><strong>&#8216;Knowledge Base Sidebar&#8217;<\/strong><\/em> on the right side of the page. Below you can see the KB sidebar and the BasePress widgets highlighted:<\/p>\n<figure id=\"attachment_438\" aria-describedby=\"caption-attachment-438\" style=\"width: 780px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-438 size-full\" src=\"https:\/\/basepresskb.com\/docs\/wp-content\/uploads\/widgets.png\" alt=\"using widgets in a knowledge base\" width=\"780\" height=\"401\" srcset=\"https:\/\/basepresskb.com\/docs\/wp-content\/uploads\/widgets.png 780w, https:\/\/basepresskb.com\/docs\/wp-content\/uploads\/widgets-300x154.png 300w, https:\/\/basepresskb.com\/docs\/wp-content\/uploads\/widgets-768x395.png 768w\" sizes=\"auto, (max-width: 780px) 100vw, 780px\" \/><figcaption id=\"caption-attachment-438\" class=\"wp-caption-text\">Using Widgets.<\/figcaption><\/figure>\n<p>BasePress has a few widgets and a dedicated widget area to use in your knowledge base documentation.<\/p>\n<ul>\n<li><b>Knowledge Base &#8211; KB Selector<\/b><br \/>\n<i>This widget lists the Knowledge Bases available.<\/i><\/li>\n<li><b>Knowledge Base Sections<\/b><br \/>\n<i>This widget lists the sections created within a certain Knowledge Base.<\/i><\/li>\n<li><b>Knowledge Base Related Articles<\/b><br \/>\n<i>This widget lists the articles contained in the same section of the current article.<\/i><\/li>\n<li><b>Knowledge Base Popular Articles (Premium Only)<\/b><br \/>\n<i>This widget lists the articles which are performing best\u00a0in a certain Knowledge Base.<\/i><\/li>\n<li><strong>Knowledge Base &#8211; Table of Contents &#8211; TOC &#8211; (Premium Only)<br \/>\n<\/strong><em>This widget lists the Table of Content for the current article. The list is generated using the header titles (h1 to h6) that\u2019s present in the articles\u2019 content.<\/em><\/li>\n<li><strong>Knowledge Base &#8211; Tag Cloud (Premium Only)<br \/>\n<\/strong><em>This widget lists the available tags for the current Knowledge Base.<\/em><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>BasePress widgets allow you to add different functionality and features to your WordPress knowledge base sidebars without writing any code. Navigate to Appearance &gt;Widgets in the WordPress menu and follow the standard procedure to add widgets. You&#8217;ll find a new widget area called &#8216;Knowledge Base Sidebar&#8217; on the right side of the page. Below you [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"https:\/\/basepresskb.com\/docs\/knowledge-base\/adding-content\/using-widgets\/\">Read More&#8230;<span class=\"screen-reader-text\"> from Using  Widgets<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","template":"","knowledgebase_cat":[18],"knowledgebase_tag":[],"class_list":["post-399","knowledgebase","type-knowledgebase","status-publish","hentry","knowledgebase_cat-adding-content"],"_links":{"self":[{"href":"https:\/\/basepresskb.com\/docs\/wp-json\/wp\/v2\/knowledgebase\/399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/basepresskb.com\/docs\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/basepresskb.com\/docs\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/basepresskb.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/basepresskb.com\/docs\/wp-json\/wp\/v2\/comments?post=399"}],"version-history":[{"count":4,"href":"https:\/\/basepresskb.com\/docs\/wp-json\/wp\/v2\/knowledgebase\/399\/revisions"}],"predecessor-version":[{"id":1629,"href":"https:\/\/basepresskb.com\/docs\/wp-json\/wp\/v2\/knowledgebase\/399\/revisions\/1629"}],"wp:attachment":[{"href":"https:\/\/basepresskb.com\/docs\/wp-json\/wp\/v2\/media?parent=399"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"https:\/\/basepresskb.com\/docs\/wp-json\/wp\/v2\/knowledgebase_cat?post=399"},{"taxonomy":"knowledgebase_tag","embeddable":true,"href":"https:\/\/basepresskb.com\/docs\/wp-json\/wp\/v2\/knowledgebase_tag?post=399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}