Why Re is out: see what's new Lifetime updates on every purchase Support replies within 24 hours Secure checkout via Gumroad 8,500+ sales since 2016

↑↓ Navigate ↵ Open Esc Close

All products
Re:Maily contact form builder is now available on WordPress.org See it live

Child theme and template overrides

Updated 17 views

A child theme lets you customize our themes without losing your changes when the parent theme is updated. Each theme package includes a ready-to-use child theme.

To get started, download the full theme package from your Gumroad Library (or Themeforest), extract the files, and locate the child theme folder. Install both the parent theme and the child theme, then activate the child theme.

Override theme templates

You can customize many theme files by copying them into your child theme and editing the copies.

For example, to customize header.php, copy it from the parent theme into the child theme, preserving the relative file path, and make your changes to the copied file.

WordPress does not automatically replace every parent theme file with a same-named file from the child theme. Template overrides work only for files that the theme loads using mechanisms that support child theme overrides. The functions.php file works differently: both the parent and child versions are loaded, rather than the child version replacing the parent version.

You can also add custom page templates to your child theme, such as page-3.php for a page with the ID 3, provided the template follows WordPress’s template hierarchy and naming conventions.

For more details, see the official WordPress Template Hierarchy and Child Themes Handbook.

Rename the theme

Renaming a theme can affect how you receive updates. If you change the theme’s folder name or theme metadata, make sure your update method still recognizes the modified theme. Depending on how updates are delivered, you may need to restore the original identifiers or update the theme manually.

If you still want to rename the theme, follow these steps:

  1. Rename the theme folder inside wp-content/themes/, for example, from THEME to NEW.
  2. Open NEW/style.css and change the Theme Name value in the theme header.
  3. If you’re using a child theme, update the Template value in the child theme’s style.css to match the new parent theme folder name.
  4. Go to Appearance → Themes and activate the renamed theme if necessary.

We recommend keeping the original theme name and folder structure whenever possible to avoid complications with updates and support.

Was this article helpful?

Related articles