質問編集履歴

1

書式の訂正

2016/07/24 14:28

投稿

Naokoko
Naokoko

スコア11

test CHANGED
File without changes
test CHANGED
@@ -24,6 +24,8 @@
24
24
 
25
25
  子テーマの作成方法は、オリジナルのディレクトリを作成し、CSSに下記のように記入。
26
26
 
27
+ ```
28
+
27
29
  /*
28
30
 
29
31
  Template:albar
@@ -36,15 +38,17 @@
36
38
 
37
39
  */
38
40
 
41
+ ```
42
+
39
43
 
40
44
 
41
45
  その後、function.phpを作成し下記のように記入しました。
42
46
 
47
+ ```
48
+
43
49
  <?php //
44
50
 
45
-
46
-
47
- add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
51
+ add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
48
52
 
49
53
  function theme_enqueue_styles() {
50
54
 
@@ -53,3 +57,5 @@
53
57
 
54
58
 
55
59
  }
60
+
61
+ ```