Last active
January 30, 2019 15:55
-
-
Save maksimerohin/bd5526ff906482b5ca4159769402f46b to your computer and use it in GitHub Desktop.
Дочерняя тема. Подключение стилей в дочерней теме.
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', 'enqueue_parent_styles' ); | |
function enqueue_parent_styles() { | |
wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); | |
} | |
?> |
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
/* | |
Theme Name: Twenty Nineteen Me | |
Theme URL: https://maksimerohin.ru | |
Description: Twenty Nineteen Child Theme | |
Author: Maksim Erokhin | |
Author URL: https://maksimerohin.ru | |
Template: twentynineteen | |
Version: 1.1 | |
Text Domain: twentynineteen-me | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment