How to Create a Child Theme

In this short article, you will be brief how to create a child for DAHZ WordPress Theme.

AZ

  • style.css
  • functions.php
  • screenshot.png

Download Link : http://support.daffyhazan.com/files/az-child.zip

style.css

/*
Theme Name: AZ Child
Theme URI: http://dahz.daffyhazan.com/az
Version: 1.0.0
Description: Multi Retail & Concept WordPress Theme Designed by Dahz.
Author: Dahz
Author URI: http://www.dahztheme.com
Template: az
Text Domain: dahztheme
Tags: one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, sticky-post

	Copyright: (c) 2014-2015 DahzTheme.
	License: GNU General Public License v3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html

WARNING! DO NOT EDIT THIS FILE!

To make it easy to update your theme, you should not edit the styles in this file. Instead use
the customizer custom css to add your styles. You have been warned! :)

*/


functions.php

<?php

add_action( 'wp_enqueue_scripts', 'child_theme_enqueue_styles' );

if (!function_exists('child_theme_enqueue_styles')) :

	function child_theme_enqueue_styles() {
	    wp_enqueue_style( 'parent-style-1', get_template_directory_uri() . '/includes/css/layout.css' );
	    wp_enqueue_style( 'parent-style-2', get_template_directory_uri() . '/includes/css/public/grand.css' );
	   
	}

endif;
We need your Feedback, please upvote if you like this post.
0