1. 子テーマ用のディレクトリの作成
「twentyseventeen-child」を新規作成
/wp-content/themes/twentyseventeen-child
2. style.cssの作成
/*
Theme Name: twentyseventeen-child2017
Template: twentyseventeen
Theme URI: https://wordpress.org/themes/twentyseventeen/
Description: Twenty Seventeen の子テーマ
Author: name
Author URI: URL
*/
3. functions.phpの作成
<?php
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_parent_theme_file_uri() . '/style.css' );
}
?>
4. screenshot.pngの作成は省略