-
Echo Knowledge Base
-
- Order Articles and Categories
- Main Page Width
- Main Page FAQs
- Set Image and Font Icons for Categories
-
- Article Page Width
- Article Layout
- Article Sidebars
- Article Page FAQs
- Embedding Google Documents in Articles
-
Add-ons
-
Access Manager
Creating Custom Articles
4.5 out Of 5 Stars
1 rating
5 Stars | 0% | |
4 Stars | 100% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
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:
- hello-elementor
- hello-elementor-child-theme
- 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.
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.
b) Knowledge Base Theme
Using WordPress Hooks
If you want to hook within the KB template output like the sidebar or under the title. See this article here.
4.5 out Of 5 Stars
1 rating
5 Stars | 0% | |
4 Stars | 100% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |