質問編集履歴

1

コードの修正など

2019/02/12 03:24

投稿

zzz_zzz
zzz_zzz

スコア16

test CHANGED
File without changes
test CHANGED
@@ -28,15 +28,31 @@
28
28
 
29
29
 
30
30
 
31
- ### 試したこと
31
+ ### 試したこと(style.css)
32
32
 
33
33
 
34
34
 
35
+ /*
36
+
37
+ Template:enrolled
38
+
35
- ここに問題に対して試したことを記載してください。
39
+ Theme Name:enrolled_child
40
+
41
+ */
36
42
 
37
43
 
38
44
 
39
- ### 補足情報(FW/ツールのバージョンなど
45
+ ### 補足情報(function.php
46
+
47
+
48
+
49
+ <?php add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
50
+
51
+ function theme_enqueue_styles()
52
+
53
+ { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
54
+
55
+ } ?>
40
56
 
41
57
 
42
58