Created
October 29, 2017 16:40
-
-
Save lifoolgh/9d78ecd6dfae6b7c14658d8b3ae96f32 to your computer and use it in GitHub Desktop.
子テーマ用functions.php
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
<?php | |
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); | |
function theme_enqueue_styles() { | |
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); | |
wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array('parent-style')); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment