Do I need one?
You need a child theme if you want to
You need a child theme if you want to
- Add custom PHP — functions, filters, hooks
- Add custom CSS or JavaScript
- Change how a template renders
- Add a page template
- Register a custom sidebar or post type
- Ship a customised theme to a client
- Change
theme.jsonpalette or type values
You do not need one if you want to
You do not need one if you want to
- Change colors, fonts, layout, or footer content → the Customizer
- Add menu icons → the Customizer
- Change logo or favicon → Site Identity
- Add widgets → Appearance → Widgets
- Add a one-off CSS rule → Appearance → Customize → Additional CSS
Setting one up
1
Create the folder
wp-content/themes/vara-saas-child/2
Create style.css
With the header below. Nothing else in this file is required.
3
Create functions.php
Optional but conventional. Use it for any PHP you need.
4
Activate it
Appearance → Themes. Vara SaaS Child appears alongside the parent.
style.css
functions.php
wp_enqueue_style declares a dependency on the parent’s stylesheet, so your CSS always loads after it.
Overriding template files
Copy the parent file to your child theme at the same relative path and edit your copy.Prefer filters where they exist
The theme exposes filters for most of what you might want to change.Enqueueing assets properly
Common mistakes
Shipping to a client
Document what you changed
Document what you changed
A short README covering the Customizer setup and any custom templates the client should know about.
