Using a child theme gives you the possibility to easily update the parent theme without losing your child theme’s customizations.
Download & Install Child Theme
First you need to download and install the child theme. You will find the download link in the Bahémian Dashboard.
Child Theme Files
This is the file structure of the child theme:
Adding Custom CSS
THEMENAME_child/style.css for adding your custom CSS. There are 2 ways to do so. You can edit the file by using a FTP application or simply go to
Appearance > Editor and edit the file directly within the WordPress backend.
Editing the functions.php
THEMENAME_child/functions.php you can add your specific PHP code. Note that the child theme’s
THEMENAME_child/functions.php is not overriding the parent
THEMENAME_child/functions.php. Instead it is loading additionally to the original
Overriding Template Files
A great feature of the child theme is that you can easily override the parent theme template files. Just copy the file you want to override into your child theme and start editing.
For example if you want to override the single post page just copy the file
THEMENAME/layouts/single/post.php into your child theme with the identical folder structure like this
You can do that basically with every template file.
- How to create a child theme – WordPress.org
Wellenklang Docs Overview
- Getting Started
- Installing the Theme
- Installing Required Plugins
- Importing the Demo Content
- Setting up the Menus
- Adding your Logo
- Updating the Theme