« See all FAQs for Ablaze - Responsive Fullscreen WordPress Theme

How do I create a child theme?

A child theme is a great way to make small customizations to Ablaze without making changes to the core theme files. Ablaze needs two files to get a child theme working properly: style.css and functions.php.

1. Create a folder in your themes directory and call it ‘ablaze-child’ 2. Next, create two empty files named ‘style.css’ and ‘functions.php’ 3. Copy this code into ‘style.css’:
/*
Theme Name: Ablaze Child
Description: A child theme for Ablaze
Author: Spacehead Concepts
Template: ablaze
*/
4. Copy this code into ‘functions.php’:
<?php 
function child_theme_style() {
    wp_enqueue_style("child", get_stylesheet_directory_uri() . "/style.css");
}

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

And you’re done! For all css modifications, add them to the new style.css.

If you want more info, check out the WordPress Codex here: http://codex.wordpress.org/Child_Themes

by
by
by
by
by
by