How to Create a WordPress Child Theme

By | December 7, 2024

A WordPress child theme lets you make changes without affecting the parent theme.

In the file manager, go to public_html/wp-content/themes, create a child them folder such as “iconic-one-child”. Under the child them directory, create two files style.css and functions.php.

style.css: make sure Template is the exact directory name of the parent theme

/*
Theme Name: Iconic-One Child
Theme URI: https://themonic.com/iconic-one/
Description: Iconic-One Child Theme
Author: Your Name
Author URI: http://example.com
Template: iconic-one
Version: 1.0.0
*/

/*Add your custom styles here */

functions.php:

Got to your WordPress dashboard, navigate to Appearance –> Themes and activate the child theme.

Leave a Reply

Your email address will not be published. Required fields are marked *