- フォルダ 作成
- style.css 作成
- functions.php 作成
1.フォルダ作成
wp-content → themes → フォルダ作成
2.style.css
そのフォルダの中に設置(twentytwenty で作る時)
/*
Theme Name : My TwentyTwenty
Author: 名前
Version: 1.0
Template: twentytwenty
*/
3.functions.php
そのフォルダの中に設置
<?php //add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );function theme_enqueue_styles() { wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
}
Leave a Reply