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

Creating Custom Articles

You are here:

In this article we will demonstrate how to customize your Articles if you need to fully customize the content and KB configuration is not sufficient for your requirements.

You can customize your articles using either:

    a)  Child Theme
    b)  Article hooks

Both options are described below.

When using Child Theme option to customize your article, choose one of two template options in the Global Wizard:

  1. Current Theme
  2. Knowledge Base Theme

To learn more about that click here.

 

Current Theme (see Global Wizard)

  1. This is your themes folder in this example you should have both:
    1. hello-elementor
    2. hello-elementor-child-theme
  2. This is the hello-elementor-child theme
  3. This is the template parts folder
  4. This is the single.php file, this is the file you will need to customize your article.

 

Now if your theme has a different Template Hierarchy structure then single.php might not be the correct file name and you will need to copy your themes PHP as well for that file.

Output example.

We have added text and highlighted it in yellow so you can see the custom HTML and custom CSS being applied to the template.

Knowledge Base Theme ( See Global Wizard )

  1. This is your themes folder in this example you should have both:
    1. hello-elementor
    2. hello-elementor-child-theme
  2. This is the hello-elementor-child theme
  3. This is the kb_templates folder
  4. This is the single-article.php file, this is the file you will need to customize your article.

 

Output example.

We have added text and highlighted it in yellow so you can see the custom HTML and custom CSS being applied to the template.

Using WordPress Hooks

If you want to hook within the KB template output like the sidebar or under the title. See this article here.

Previous Creating Templates using Child Theme
Next Adding Custom Section to Articles using Hooks
Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Need help?

Recent Articles

Table of Contents