-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,29 @@ | ||
<?php | ||
/** | ||
* Child Theme Template | ||
* | ||
* This child theme template is the very least you need to start building a child theme. | ||
* Simply upload this theme to your site and edit the 'template' in style.css to the | ||
* folder name of the parent theme. Then activate this theme. More details on how to | ||
* use this theme can be found @link https://dave.pe/2014wctpa. | ||
* | ||
* @package Child Theme Template | ||
* @subpackage Functions | ||
* @author Dave Clements <[email protected]> | ||
* @copyright Copyright (c) 2016 Dave Clements | ||
* @version 1.2 | ||
* @since 1.0 | ||
* @link https://github.com/theukedge/child-theme-template | ||
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License | ||
*/ | ||
|
||
// For more information on how to use this template, go to https://www.doitwithwp.com/putting-things-where-they-belong/ | ||
|
||
/** | ||
* Load parent theme css | ||
* | ||
* @since 2016-05-20 | ||
* @author Dave Clements <[email protected]> | ||
* @return void | ||
*/ | ||
function load_parent_theme_css() { | ||
$parentcss = get_template_directory() . '/style.css'; | ||
wp_enqueue_style( | ||
|
@@ -14,7 +36,13 @@ function load_parent_theme_css() { | |
|
||
add_action( 'wp_enqueue_scripts', 'load_parent_theme_css', 11 ); | ||
|
||
|
||
/** | ||
* Load child theme css | ||
* | ||
* @since 2016-05-20 | ||
* @author Dave Clements <[email protected]> | ||
* @return void | ||
*/ | ||
function load_child_theme_css() { | ||
$childcss = get_stylesheet_directory() . '/css/style.css'; | ||
wp_enqueue_style( | ||
|