Creating Custom Articles
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 visual Editor:
- Current Theme
- Knowledge Base Theme
To learn more about that click here.
a) Current Theme
- This is your themes folder in this example you should have both:
- This is the hello-elementor-child theme
- This is the template parts folder
- 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.
We have added text and highlighted it in yellow so you can see the custom HTML and custom CSS being applied to the template.