質問編集履歴
1
CODE部分を修正しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,11 +16,13 @@
|
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
+
```ここに言語を入力
|
20
|
+
|
19
21
|
<?php
|
20
22
|
|
21
23
|
global $post;
|
22
24
|
|
23
|
-
$term = array_shift(get_the_terms($post->ID, 'topics_category'));
|
25
|
+
$term = array_shift(get_the_terms($post->ID, 'topics_category'));
|
24
26
|
|
25
27
|
$args = array(
|
26
28
|
|
@@ -53,3 +55,5 @@
|
|
53
55
|
<p>関連アイテムはまだありません。</p>
|
54
56
|
|
55
57
|
<?php endif; wp_reset_postdata(); ?>
|
58
|
+
|
59
|
+
```
|