Я хочу создать дочернюю тему в WordPress, используя подчеркивания
В справочнике WordPress рекомендуется следовать приведенному ниже коду при постановке в очередь родительского style.css
<?php
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
function my_theme_enqueue_styles() {
$parent_style = 'parent-style'; // This is 'twentyfifteen-style' for the
Twenty Fifteen theme.
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 ),
wp_get_theme()->get('Version')
);
}
?
Здесь,
$parent_style = 'parent-style'; // This is 'twentyfifteen-style' for the
Twenty Fifteen theme.
где,
"parent-style" - это $ handle. , который является именем таблицы стилей.
Теперь, как мне найти мою родительскую темуимя таблицы стилей?