Code for style.css file:

/*
	Theme Name:	Complete WordPress Mastery
	Theme URI:	https://www.varunsood.com
	Description:	A theme for https://www.completewpmastery.com
	Version:	1.0
	Author:		Varun Sood
	Author URI:	https://www.varunsood.com
	Template:	astra
	Text Domain:	completewpmastery
*/

Code for functions.php file:

<?php

define( 'NIPL_CHILD_THEME_VERSION', '1.0.0' );

function enqueue_styles() {
	wp_enqueue_style( 'nipl-child-theme-css', get_stylesheet_directory_uri() . '/style.css', array('astra-theme-css'), NIPL_CHILD_THEME_VERSION, 'all' );
}
add_action( 'wp_enqueue_scripts', 'enqueue_styles', 15 );

Search This Website

Subscribe To My Mailing List

All subscribers get latest industry news and exclusive deals & offers straight into their inbox. Joining the mailing list is 100% FREE.