The recommended way to create KB home page is via shortcodes. In this article we’ll go through the necessary steps to create home KB page.
First, you need to create a new WordPress page via Pages – Add New. Select any name you prefer and press Publish (or save as Draft). Next, using the shortcode builder icon insert the Search shortcode and Topics shortcode.
Don’t edit the settings, just click Insert shortcode, save the page and check the result for now. The page should look something like this:
Next, let’s adjust some Search settings. Go to edit screen, select the Search shortcode text and press shortcode builder icon again.
Shortcode builder will edit the existing shortcode instead of adding new. Let’s change Search theme to Thick and add more paddings:
Let’s also enable background overlay and change text color settings:
Lets save the shortcode, Update the page and check again:
As you can see the Search section has changed according to settings. Now, you can edit topics same as search.
Let’s add another topics section to demonstrate the different layout. First, insert some new line between Search and Topics shortcodes. Then, click shortcode builder icon and select Topics. Switch to List view and in Topic selector select Recent, Most viewed and Most liked. You can also reorder them in the right column using drag n drop.
Now, insert shortcode and Update the page. Let’s check the result:
Now you have a fully functional KB home page with search and two topics sections. Final step is to make MinervaKB breadcrumbs recognize this page as home page. Go to MinervaKB – Settings – Breadcrumbs and select page in Custom page selector:
That’s it, you’ve created your own KB home page.