質問編集履歴

1

コードをコードブロックで囲みました

2016/09/16 08:07

投稿

N.D.
N.D.

スコア7

test CHANGED
File without changes
test CHANGED
@@ -6,13 +6,15 @@
6
6
 
7
7
  Custom Post Type UI:
8
8
 
9
+ ```
10
+
9
11
  'post_type' => 'temple',
10
12
 
11
13
  'taxonomy' => 'area',
12
14
 
13
15
  'term' => 'central',
14
16
 
15
-
17
+ ```
16
18
 
17
19
  Advanced Custom Fields:
18
20
 
@@ -36,17 +38,23 @@
36
38
 
37
39
 
38
40
 
41
+ ```
42
+
39
43
  <?php
40
44
 
41
45
  $time = get_post_meta(191, 'time', true);
42
46
 
43
47
  ?>
44
48
 
49
+ ```
50
+
45
51
 
46
52
 
47
53
  ②.以下を記述すると、記事ID:191 のthe_content部分は出力したが、カスタムフィールドは出力しない。
48
54
 
49
55
 
56
+
57
+ ```
50
58
 
51
59
  <?php
52
60
 
@@ -60,6 +68,8 @@
60
68
 
61
69
  ?>
62
70
 
71
+ ```
72
+
63
73
 
64
74
 
65
75