Creates child theme template files

This commit is contained in:
mateuswetah 2020-09-07 21:12:18 -03:00
commit 75fe5d5f66
3 changed files with 14 additions and 0 deletions

7
functions.php Normal file
View File

@ -0,0 +1,7 @@
<?php
if (! defined('WP_DEBUG')) {
die( 'Direct access forbidden.' );
}
add_action( 'wp_enqueue_scripts', function () {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
});

BIN
screenshot.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

7
style.css Normal file
View File

@ -0,0 +1,7 @@
/**
* Theme Name: Blocksy Child
* Description: Blocksy Child theme
* Author: Creative Themes
* Template: blocksy
* Text Domain: blocksy
*/