Appearance
Using a Child Theme β
A child theme allows you to modify your site's appearance while preserving the core functionality of the parent theme.
What is a Parent Theme? β
A parent theme is a fully functional WordPress theme that includes all required template files and assets. All themes β except child themes β are considered parent themes.
In your download package, π asli.zip is the parent Asli theme.

What is a Child Theme? β
A child theme inherits all styles and functionality from the parent theme while allowing you to customize aspects of it. This ensures that your modifications remain separate from the parent themeβs files, preventing them from being lost during updates.
In your download package, π asli-child.zip is the child Asli theme.

Benefits of Using a Child Theme β
Child themes allow you to:
- Keep modifications separate from the parent theme.
- Apply updates to the parent theme without losing customizations.
- Save development time by reusing the tested structure of the parent theme.
- Learn about WordPress theme development.
WARNING
Customizing a child theme is recommended for advanced WordPress users. If you're unfamiliar with coding, modifying a child theme could cause issues or site crashes.
Setting Up a Child Theme β
If you followed the Wizard Theme Setup, the child theme is likely already installed. If not, extract π asli-child.zip from your download package and install it like a regular WordPress theme.

Customizing PHP Files in a Child Theme β
To override a .php file, copy it from wp-content/themes/<ThemeName lowercase />/ and paste it into wp-content/themes/<ThemeName lowercase />-child/, ensuring the full directory structure remains intact.
Example 1: Overriding the Header Template β
- Copy
π wp-content/themes/<ThemeName lowercase />/header.php - Paste it into
π wp-content/themes/<ThemeName lowercase />-child/header.php - Edit the
π header.phpfile in the child theme.
Example 2: Overriding the Preloader Template β
- Copy
π wp-content/themes/<ThemeName lowercase />/template-parts/preloader/preloader.php - Create the following directory in the child theme:
wp-content/themes/<ThemeName lowercase />-child/template-parts/preloader - Paste the copied file into
π wp-content/themes/<ThemeName lowercase />-child/template-parts/preloader/preloader.php - Edit
π preloader.phpin the child theme.
Example 3: Overriding ACF Custom Fields β
- Copy
π wp-content/themes/<ThemeName lowercase />/inc/config-plugins/acf/fields.php - Create the following directory in the child theme:
wp-content/themes/<ThemeName lowercase />-child/inc/config-plugins/acf - Paste the copied file into
π wp-content/themes/<ThemeName lowercase />-child/inc/config-plugins/acf/fields.php - Edit
π fields.phpin the child theme.