We are here to help during these difficult times. Use the coupon code STAYHOME2020 during checkout to receive 30% off the regular price!

Customizing Current Theme Templates

You are here:
This option is suitable for PHP/CSS/HTML developers. It allows one to further customize look and feel of Knowledge Base pages when displayed using the current theme by setting up a child theme and making changes to the child theme templates.
 
 
Steps to customize your current theme templates for KB pages:
  1. Create a child theme. See steps on how here
  2. Copy your active theme’s single.php file into the child theme folder. In some cases you need to create a sub-directory called “kb-templates” for the theme files.
  3. Rename the single.php to: single-epkb_post_type_1.php
  4. In the single-epkb_post_type_1.php file make any changes required e.g. you can remove the sidebar code and apply any CSS that will fix any layout issues.

From here you will need to edit this file according to your theme.


Always remember to back up your website before making any changes or better yet, make the changes on a staging site where you can test your changes without affecting your production site.

Child Theme using Hello Elementor

We have developed a very basic child theme that demonstrates the ability to create your own custom templates. This child theme is based on the Hello Elementor theme. We chose this theme because it’s very basic and it allows you to easily see the code and the output.

The structure is based on WordPress Template structure, your theme might have chosen a different way to display it. If that is the case you will need to learn that theme and how it works. We do NOT provide support for this level of customization.

Here is the article you need to follow: Template Hierarchy and you will need to coordinate with your theme company if you want help with their template structure.

This child theme is a proof of concept that shows you it is possible to create Knowledge base templates, but it will take a PHP developer who is familiar with WordPress to understand how to make it work between the KB and the theme you have chosen.

Make sure you have

  1. Backed up your website or test this on your staging site
  2. Hello Elementor Installed https://wordpress.org/themes/hello-elementor/
  3. Hello Elementor Child theme Installed and activated.
  4. Echo Knowledge based Installed and activated
  5. Then load the front end of the KB to see the custom HTML examples. ( Highlighted in Yellow )
  6. Switch Between Current theme or KB Theme options in the Global Wizard to see which template works best for you.

Child Theme

This is for Developers ONLY

Good luck with your project!
Echo Team.

Previous Control Access to Your Knowledge Base
Next Multi site structure
Was this article helpful?
1.3 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 50%
1 Stars 50%
How can we improve this article?
Need help?

Recent Articles

Table of Contents