Skip to main content
Claim your .com from $2.99 — free WHOIS privacy included

Learning Hub · Intermediate · 30 minutes

How to Create a WordPress Child Theme

Customise a theme so updates stop erasing your work — a practical, no-jargon walkthrough with the classic mistake flagged before you make it.

The short answer

Goal: customise a theme so updates stop erasing your work. Time needed: 30 minutes. Difficulty: intermediate.

The walkthrough below covers each step, the mistake most people make, and the shortcut worth knowing. On HostingAlly plans, several of the steps are handled for you — we note where.

Intermediate

Skill level

5

Steps to done

Free

Support included

Tested

On our platform

This guide assumes no prior expertise — just a hosting account, a browser, and 30 minutes of attention. Every instruction works on our platform exactly as written, and translates to any standard cPanel host.

Rule of the road: read the gotcha section before you begin, not after — it's harvested from the support tickets of people who didn't.

The shape of the job

The whole job breaks into clear stages: understand the why, create the folder and stylesheet, enqueue the parent styles, activate and verify and override deliberately.

None of the stages requires code or a terminal unless the guide explicitly says so — and where it does, the exact commands are given. The full step-by-step sits below; the surrounding sections cover the context that makes it stick.

The classic gotcha

Getting the Template line wrong — it must match the parent's folder name exactly (not its display name), or the child appears broken with a 'missing parent' error.

Forewarned is genuinely forearmed here — this exact mistake accounts for most of the frustration this topic produces, and it's entirely avoidable once named.

The pro tip worth stealing

For CSS-only tweaks, the Customizer's Additional CSS box survives updates too — a child theme earns its setup cost when you touch templates or functions, not for twenty lines of styling.

It costs a minute now and repays it every time this task comes around again — which, like most hosting tasks, it will.

The parts you can skip on our hosting

Several steps in this guide exist because hosting historically made you do them — on our plans, SSL issues itself, backups run daily without being asked, and one-click installers replace manual setup entirely. What remains is the genuinely-yours part of the task.

Stuck mid-task at an odd hour? That's what 24/7 human support is for — describe where you are in this guide and we'll take it from there.

Programmer writing code on a hosted server environment

Guides are easier on a good platform

Tutorials age badly when they're written against imaginary hosting. These are written against ours — the same panel, installer and defaults you'll actually see.

Annual plans include your first year of domain registration on us.

  • Step-by-step, tested as written
  • The gotcha flagged before you hit it
  • Automation covers the boring steps
  • 24/7 support if you get stuck

Why HostingAlly

What you get with every plan

Automation where it belongs

SSL, backups and installs run themselves here — the guide covers only what's genuinely yours to do.

Works as written

Every step tested on our own platform — no 'your host may vary' hand-waving.

Help on standby

Stuck at step three at midnight? Support answers around the clock, mid-guide included.

No jargon tax

Terms are explained in place or linked to the glossary — nothing assumes you already know.

Written from real tickets

Our guides come from the support desk — the gotchas are the ones people actually hit.

The undo is always named

Where a step could bite, the guide says so and gives the reversal.

Getting Started

How to get going

  1. 1

    Understand the why

    Edits made directly to a theme vanish at its next update — a child theme inherits everything from the parent while holding your changes safely apart.

  2. 2

    Create the folder and stylesheet

    New folder in wp-content/themes, containing style.css whose header declares Template: parent-theme-folder-name — that line is the inheritance.

  3. 3

    Enqueue the parent styles

    Add functions.php that enqueues the parent stylesheet — the modern replacement for the old @import approach.

  4. 4

    Activate and verify

    Activate the child in Appearance → Themes; the site should look identical — the child is transparent until you override something.

  5. 5

    Override deliberately

    CSS goes in the child's style.css; template overrides copy the parent's file into the child and edit there — WordPress prefers the child's version automatically.

Included

What's covered on our plans

  • SSH, Git and Composer access on developer-friendly plans
  • cPanel — the industry-standard control panel
  • DDoS protection at the network level
  • Renewal prices that match signup prices
  • One-click installer for WordPress and 400+ apps
  • Free SSL certificate on every plan, renewed automatically
  • 99.9% uptime commitment, monitored around the clock
  • 24/7 support from real people
  • Free domain for the first year on annual plans
  • LiteSpeed server-level caching

FAQ

Your questions, answered

Do block themes still need child themes?

Less often — full-site editing stores customisations in the database, surviving updates naturally. Child themes remain the tool for code-level changes (custom functions, template parts beyond the editor's reach).

Can I make a child theme for a theme that's already customised?

Yes, but the existing direct edits must be found and moved into the child before the next parent update deletes them — a diff against a fresh copy of the parent reveals what was changed.

Are backups included, and can I restore them myself?

Daily automatic backups are standard, restorable from the panel in minutes — files, databases or both, at 3am without a ticket if that's when you need it. For extra cover, you're welcome to run your own offsite copies alongside.

Is there a money-back guarantee?

Yes — try the hosting properly and if it doesn't fit, the refund process is a request, not a retention gauntlet. Domain registrations are the one standard carve-out, since registries make those non-refundable the moment they're placed.

How long does it take to get started?

Minutes — hosting activates on payment, the domain (free for year one on annual plans) connects immediately, and one-click installers put WordPress or 400+ other apps live the same sitting. If you have an existing site, our team migrates it free, usually within 24 hours.

Will you move my existing website for free?

Yes — open a ticket with your current host's access details and we handle the whole move: files, databases, email and configuration, verified by you before DNS switches. The old site keeps serving until the new copy takes over, so visitors never see a gap.

Which control panel do you provide?

cPanel — the industry standard, which means every tutorial on the internet matches your screen, your backups restore anywhere cPanel runs, and skills learned here transfer for life. Plesk and DirectAdmin options exist on specific plans for those who prefer them.

Launch it properly this time.

Fast NVMe hosting, free SSL and migration, and real people on support around the clock — at prices that stay put.

See Hosting Plans