Child Theme

Child Theme

Edger includes a child theme to make updates easier.

💡
IMPORTANT: If you only need to add a few CSS changes, it’s recommended to use the Theme Options → Advanced Settings → Custom CSS field.

If you plan to make many CSS changes or customize HTML or PHP, it’s highly recommended to do this using a Child Theme. This way, your changes won’t be lost during updates.

The steps are simple:

  1. Upload wp-edger.zip via wp-admin → Appearance → Themes.
  2. Activate Edger.
  3. After activation, upload wp-edger-child.zip the same way.
  4. You can now edit any CSS or PHP (via functions.php) in the child theme.

How to Overwrite a Parent Theme Template

You can override any template file by copying it from the parent theme and keeping the same folder structure. For example:

  • Copy edger/single.php to edger-child/single.php — this will replace the single post template.
  • The same applies to the partials folder. You can copy edger/partials (with all its files) to edger-child/partials to replace those parent theme parts.