Activating the Knowledge Base Appearance

screenshotBy default the WP Knowledge Base will show all your blog posts on the front page. But what you see in the demo or in the screenshot is different right?

To activate the Knowledge Base type appearance, you have to do a little modifications yourself. Fear not, no coding involved, just plain WordPress stuff. All you have to do is create a page, assign it a page template and change your WordPress reading settings to show that page as your static front page.

Create a Page

Start by creating a page from Pages  Add New. This is going to be the static front page of your blog/WordPress site.

Select Page Template

Also select the provided Knowledge Base Page template from the meta area at right.

Now just publish the page and if you view it, then you should see that this page has the appearance of the knowledge base.

Change the Reading Settings

From your WordPress admin area, go to Settings Reading. Now change the Front page displays to A static page and select the page you’ve just published as the Front page.

Change Reading Settings

Save the settings. Now when you go to the homepage of your site, you should see the Knowledge Base appearance.

Customizing the Page

There are a number of ways to customize, including simple editing of page content and through some filters.

Editing Page Content

What ever content you put in the page, is printed below the knowledge bases. You can use some other plugins along with shortcodes to further customize the page appearance.

Editing Frontpage Content

In the homepage of this knowledge base, I’ve used Facebook Like Box Responsive plugin to show a like box for our facebook page.

Changing Popular Articles

Popular Articles panel is filtered and you can change the arguments passed to the WP_Query class. The arguments are controlled through ipt_kb_popular_posts_args filter. A sample usage will be something like this.

 * Modify the popular posts query parameters
 * on the list shown on the knowledge base page.
 * @see
 * @param  array $arg The default query parameters
 * @return array      Modified query parameters.
function my_popular_widget_ext( $arg ) {
	// Lets change the number of posts to a hardcoded value
	$arg['posts_per_page'] = 10;
	return $arg;
add_filter( 'ipt_kb_popular_posts_args', 'my_popular_posts_page' );

Further customization can be done by creating a child theme and completely replacing the file /template-knowledgebase.php. Use the code inside the file as a guide.

Swashata has written 257 articles

Hi there, I am the Lead Developer at I love to create something beautiful for WordPress and here I write about how to use them. When I am not working, usually I am doing a number of other creative things ;).