Hi,
Create a new folder called “bluegray-child” and copy-paste files functions and style from parent BlueGray theme. Make both files empty.
Add this in the empty file style:
/*
Theme Name: BlueGray Child
Description: Child Theme of BlueGray.
Version: 1.0
Author: Mathias
Template: bluegray
*/
/* Underneath you can add your own custom CSS */
Add this in the empty file functions:
<?php
/*
* Child Theme functions and definitions.
*/
// Get stylesheet from parent theme
function bluegray_extra_scrips() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
}
add_action( 'wp_enqueue_scripts', 'bluegray_extra_scrips' );
// Underneath you can add your own custom functions
?>
Zip folder and install it as a normal theme.
Guido