This commit is contained in:
2023-12-24 11:39:42 -06:00
commit b2d000cda0
3 changed files with 52 additions and 0 deletions

22
.editorconfig Normal file
View File

@@ -0,0 +1,22 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org
# WordPress Coding Standards
# https://make.wordpress.org/core/handbook/coding-standards/
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
indent_size = 4
[{.jshintrc,*.json,*.yml}]
indent_style = space
indent_size = 2
[{*.txt,wp-config-sample.php}]
end_of_line = crlf

21
functions.php Normal file
View File

@@ -0,0 +1,21 @@
<?php
/**
* Tonys-rookie-enhancements Theme functions and definitions.
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package tonys-rookie-enhancements
*/
add_action( 'wp_enqueue_scripts', 'rookie_parent_theme_enqueue_styles' );
/**
* Enqueue scripts and styles.
*/
function rookie_parent_theme_enqueue_styles() {
wp_enqueue_style( 'rookie-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'tonys-rookie-enhancements-style',
get_stylesheet_directory_uri() . '/style.css',
[ 'rookie-style' ]
);
}

9
style.css Normal file
View File

@@ -0,0 +1,9 @@
/*
Theme Name: Tonys-rookie-enhancements
Theme URI:
Description: Rookie child theme.
Author: Me
Author URI:
Template: rookie
Version: 0.1.0
*/