Quick Setup for WordPress Child Themes

  1. Create Folder abcdefg-child
  2. Create CSS File style.css
/*
Theme Name: ABCDEFG Child
Theme URL: http://themes.webdevia.com/osterisk-voip-cloud-services-wordpress-theme
Description: ABCDEFG Theme Child
Author: Dwij IT Solutions
Author URL: https://dwijitsolutions.com
Template: abcdefg
Version: 1.0.0
Text Domain: abcdefg-child
*/
  1. Create Functions.php Files
<?php

add_action( 'wp_enqueue_scripts', 'enqueue_child_styles', 100);

function enqueue_child_styles() {
   wp_enqueue_style( 'child-style', get_stylesheet_directory_uri().'/style.css');
}

?>
Share

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.